Commit Graph

6 Commits

Author SHA1 Message Date
Jason Edmeades 1bfe68512d xcopy: Add support for xcopy /k.
xcopy should remove read only permissions from the destination file unless the
/k option is supplied.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40706
Signed-off-by: Jason Edmeades <us@edmeades.me.uk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-05 11:42:41 +02:00
Jason Edmeades c8fcedcf26 xcopy: Fix copying empty directories.
Signed-off-by: Jason Edmeades <us@edmeades.me.uk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 11:01:16 +02:00
Jason Edmeades 8a84148e52 xcopy: Return code 1 for no files is never returned.
Signed-off-by: Jason Edmeades <us@edmeades.me.uk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 11:01:12 +02:00
Jason Edmeades 7396f32920 xcopy: Handle multiple switches concatenated without whitespace.
Signed-off-by: Jason Edmeades <us@edmeades.me.uk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 11:01:12 +02:00
Francois Gouget 8d51235dbe xcopy/tests: Fix the test in case stdin has been redirected. 2014-03-03 17:02:29 +01:00
Francois Gouget 61358d04a4 xcopy: Add tests to show that the /D option only accepts dates in the m-d-y format. 2013-11-29 17:58:40 +01:00