Martin Wilck
20feb4772c
xcopy: Assume directory if destination ends with a backslash.
2010-11-05 11:28:06 +01:00
Martin Wilck
766f6b0b4b
xcopy: Fix command line parsing logic.
...
Experiments show xcopy under Windows does not use argc/argv logic for
treating double quotes and backslashes. The xcopy logic is simplified
because literal quotes are illegal in Windows file names, thus escaped
double quotes (\") need not be treated. 'XCOPY "c:\dir a" "c:\dir
b\"' works under Windows.
2010-10-27 11:59:24 +02:00
Martin Wilck
b62c0d23f7
xcopy: Move command line parsing code into separate function.
2010-10-27 11:59:05 +02:00
Alexandre Julliard
b7da23eb29
xcopy: Do not ignore errors caused by processing parameters.
2010-06-10 11:24:06 +02:00
Gregor Schneider
b6a5da06e9
xcopy: Remove unneeded assignment.
2009-12-14 12:04:06 +01:00
Marcus Meissner
1db4c5dc67
xcopy: Handle return from vsnprintfW (Coverity).
2009-01-29 12:48:16 +01:00
Alexandre Julliard
91421f0f02
xcopy.exe: Don't use wvsprintf on sysv-style varargs, use a libwine function instead.
2009-01-03 11:38:26 +01:00
Alexandre Julliard
09874bf78a
xcopy.exe: Get rid of remaining uses of Unicode macros.
2008-09-04 14:08:19 +02:00
Francois Gouget
8a18e0e43a
Assorted spelling fixes.
2008-04-07 13:36:18 +02:00
Andrew Talbot
a8df7fddd5
xcopy: Fix some memory leaks.
2007-10-25 14:26:47 +02:00
Jason Edmeades
ea34c87cc3
xcopy.exe: Convert from main to wmain.
2007-06-04 14:49:44 +02:00
Jason Edmeades
a2fa763008
xcopy: Output to console in Unicode if possible, or OEM codepage otherwise.
2007-05-02 15:03:19 +02:00
Jason Edmeades
928f1cb722
xcopy: Hack/workaround for filenames starting with a '.'.
2007-04-02 12:04:38 +02:00
Jason Edmeades
b8b8f254d8
xcopy: /E implies recursive (fixes ActiveState Perl installer).
2007-04-02 12:04:30 +02:00
Jason Edmeades
da977e5579
xcopy: Make displayed names mirror windows.
2007-04-02 12:04:12 +02:00
Jason Edmeades
a8914b9494
xcopy: Add help.
2007-04-02 12:04:02 +02:00
Jason Edmeades
bb2b2d7d3e
xcopy: Update comments with unsupported operations and current status.
2007-04-02 12:03:56 +02:00
Jason Edmeades
9ff8b4be5b
xcopy: Move all messages into an English resource file.
2007-04-02 12:03:52 +02:00
Jason Edmeades
a5cbc372b3
xcopy: Rearrange code to closely match windows ordering.
...
Effectively work out if we are interested in a file before worrying
about prompting for copy or overwrite.
2007-04-02 11:42:22 +02:00
Jason Edmeades
3645c30ba1
xcopy: Add support for /D and /D:m-d-y.
2007-04-02 11:41:59 +02:00
Jason Edmeades
54b1d19c5b
xcopy: Add support for /EXCLUDELIST:file1+file2 etc.
2007-04-02 11:41:11 +02:00
Jason Edmeades
4794bec1c1
xcopy: Add support for xcopy /A and /M (archive copies).
2007-03-30 10:55:21 +02:00
Jason Edmeades
60e79adb53
xcopy: Add support for /P (Prompt).
2007-03-30 10:55:21 +02:00
Jason Edmeades
d742bb632b
xcopy: Add support for /C (Continue if errors).
...
Also fix one place error reporting was missing.
2007-03-30 10:55:21 +02:00
Jason Edmeades
0a3a741a4a
xcopy: Add support for /H (Hidden/System).
2007-03-30 10:55:20 +02:00
Jason Edmeades
432d81d704
xcopy: Add support for /R (Replace read only files).
2007-03-30 10:55:20 +02:00
Jason Edmeades
5f8f5eb5be
xcopy: Add support for /U (target must exist).
2007-03-30 10:55:20 +02:00
Jason Edmeades
fe89021458
xcopy: Add support for /N (shortname copy).
2007-03-30 10:55:20 +02:00
Jason Edmeades
30fcdd9f07
xcopy: Add support for COPYCMD override and fix /-y.
2007-03-30 10:55:20 +02:00
Jason Edmeades
70fe414c2a
xcopy: Prompt when overwriting files, add /Y and /-Y support.
2007-03-30 10:55:20 +02:00
Jason Edmeades
59bf2dc341
xcopy: Add support for /T (no copy).
2007-03-30 10:55:20 +02:00
Jason Edmeades
cf872445a3
xcopy: Add support for /W (pause).
2007-03-30 10:55:20 +02:00
Jason Edmeades
921edab758
Basic implementation of xcopy.
2007-03-19 14:50:32 +01:00