Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a8914b94
Commit
a8914b94
authored
Mar 30, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Apr 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xcopy: Add help.
parent
bb2b2d7d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
1 deletion
+37
-1
En.rc
programs/xcopy/En.rc
+34
-0
xcopy.c
programs/xcopy/xcopy.c
+2
-1
xcopy.h
programs/xcopy/xcopy.h
+1
-0
No files found.
programs/xcopy/En.rc
View file @
a8914b94
...
...
@@ -42,4 +42,38 @@ STRINGTABLE
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Copies source files or directory trees to a destination\n\
\n\
Syntax:\n\
XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U] \n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
Where:\n\
\n\
[/I] Assume directory if destination does not exist and copying 2 or \n\
\tmore files\n\
[/S] Copy directories and subdirectories\n\
[/E] Copy directories and subdirectories, including any empty ones\n\
[/Q] Do not list names during copy, ie quiet.\n\
[/F] Show full source and destination names during copy\n\
[/L] Simulate operation, showing names which would be copied\n\
[/W] Prompts before beginning the copy operation\n\
[/T] Creates empty directory structure but does not copy files\n\
[/Y] Suppress prompting when overwriting files\n\
[/-Y] Enable prompting when overwriting files\n\
[/P] Prompts on each source file before copying\n\
[/N] Copy using short names\n\
[/U] Copy only files which already exist in destination\n\
[/R] Overwrite any read only files\n\
[/H] Include hidden and system files in the copy\n\
[/C] Continue even if an error occurs during the copy\n\
[/A] Only copy files with archive attribute set\n\
[/M] Only copy files with archive attribute set, removes \n\
\tarchive attribute\n\
[/D | /D:m-d-y] Copy new files or those modified after the supplied date.\n\
\t\tIf no date is supplied, only copy if destination is older\n\
\t\tthan source\n\n"
}
programs/xcopy/xcopy.c
View file @
a8914b94
...
...
@@ -27,7 +27,6 @@
* /O - Copy file ownership + ACL info
* /G - Copy encrypted files to unencrypted destination
* /V - Verifies files
* /? (or no parms) - List Help
*/
/*
...
...
@@ -235,6 +234,8 @@ int main (int argc, char *argv[])
case
'-'
:
if
(
toupper
(
argvW
[
0
][
2
])
==
'Y'
)
flags
&=
~
OPT_NOPROMPT
;
break
;
case
'?'
:
wprintf
(
XCOPY_LoadMessage
(
STRING_HELP
));
return
RC_OK
;
default:
WINE_TRACE
(
"Unhandled parameter '%s'
\n
"
,
wine_dbgstr_w
(
*
argvW
));
wprintf
(
XCOPY_LoadMessage
(
STRING_INVPARM
),
*
argvW
);
...
...
programs/xcopy/xcopy.h
View file @
a8914b94
...
...
@@ -65,3 +65,4 @@
#define STRING_ALL_CHAR 114
#define STRING_FILE_CHAR 115
#define STRING_DIR_CHAR 116
#define STRING_HELP 117
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment