2 * Wine command prompt resources
4 * Copyright (C) 1999 D A Pickles
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 /* @makedep: wcmd.ico */
24 IDI_ICON1 ICON wcmd.ico
26 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
31 "CALL <batchfilename> is used within a batch file to execute commands\n\
32 from another batch file. When the batch file exits, control returns to\n\
33 the file which called it. The CALL command may supply parameters to the\n\
36 Changes to default directory, environment variables etc made within a\n\
37 called procedure are inherited by the caller.\n"
39 WCMD_CD, "CD <dir> is the short version of CHDIR. It changes the current\n\
41 WCMD_CHDIR, "CHDIR <dir> changes the current default directory.\n"
43 WCMD_CLS, "CLS clears the console screen.\n"
45 WCMD_COPY, "COPY <filename> copies a file.\n"
46 WCMD_CTTY, "CTTY changes the input/output device.\n"
47 WCMD_DATE, "DATE shows or changes the system date.\n"
48 WCMD_DEL, "DEL <filename> deletes a file or set of files.\n"
49 WCMD_DIR, "DIR lists the contents of a directory.\n"
52 "ECHO <string> displays <string> on the current terminal device.\n\
54 ECHO ON causes all subsequent commands in a batch file to be displayed\n\
55 on the terminal device before they are executed.\n\
57 ECHO OFF reverses the effect of a previous ECHO ON (ECHO is OFF by\n\
58 default). The ECHO OFF command can be prevented from displaying by\n\
59 preceding it with an @ sign.\n"
61 WCMD_ERASE, "ERASE <filename> deletes a file or set of files.\n"
64 "The FOR command is used to execute a command for each of a set of files.\n\
66 Syntax: FOR %variable IN (set) DO command\n"
69 "The GOTO command transfers execution to another statement within a\n\
72 The label which is the target of a GOTO may be up to 255 characters\n\
73 long but may not include spaces (this is different from other operating\n\
74 systems). If two or more identical labels exist in a batch file the\n\
75 first one will always be executed. Attempting to GOTO a nonexistent\n\
76 label terminates the batch file execution.\n\
78 GOTO has no effect when used interactively.\n"
80 WCMD_HELP, "HELP <command> shows brief help details on a topic.\n\
81 HELP without an argument shows all CMD built-in commands.\n"
84 "IF is used to conditionally execute a command.\n\
86 Syntax: IF [NOT] EXIST filename command\n\
87 \ IF [NOT] string1==string2 command\n\
88 \ IF [NOT] ERRORLEVEL number command\n\
90 In the second form of the command, string1 and string2 must be in double\n\
91 quotes. The comparison is not case-sensitive.\n"
93 WCMD_LABEL, "LABEL is used to set a disk volume label.\n\
95 Syntax: LABEL [drive:]\n\
96 The command will prompt you for the new volume label for the given drive.\n\
97 You can display the disk volume label with the VOL command.\n"
100 "MD <name> is the short version of MKDIR. It creates a subdirectory.\n"
101 WCMD_MKDIR, "MKDIR <name> creates a subdirectory.\n"
103 "MOVE relocates a file or directory to a new point within the file system.\n\
105 If the item being moved is a directory then all the files and subdirectories\n\
106 below the item are moved as well.\n\
108 MOVE fails if the old and new locations are on different DOS drive letters.\n"
111 "PATH displays or changes the cmd search path.\n\
113 Entering PATH will display the current PATH setting (initially taken\n\
114 from the registry). To change the setting follow the\n\
115 PATH command with the new value.\n\
117 It is also possible to modify the PATH by using the PATH environment\n\
118 variable, for example:\n\
119 PATH %PATH%;c:\\temp\n"
122 "PAUSE displays a message on the screen asking the user to press a key.\n\
124 It is mainly useful in batch files to allow the user to read the output\n\
125 of a previous command before it scrolls off the screen.\n"
128 "PROMPT sets the command-line prompt.\n\
130 The string following the PROMPT command (and the space immediately after)\n\
131 appears at the beginning of the line when cmd is waiting for input.\n\
133 The following character strings have the special meaning shown:\n\
135 $$ Dollar sign $_ Linefeed $b Pipe sign (|)\n\
136 $d Current date $e Escape $g > sign\n\
137 $l < sign $n Current drive $p Current path\n\
138 $q Equal sign $t Current time $v cmd version\n\
140 Note that entering the PROMPT command without a prompt-string resets the\n\
141 prompt to the default, which is the current directory (which includes the\n\
142 current drive letter) followed by a greater-than (>) sign.\n\
143 (like a command PROMPT $p$g).\n\
145 The prompt can also be changed by altering the PROMPT environment variable,\n\
146 so the command 'SET PROMPT=text' has the same effect as 'PROMPT text'.\n"
149 "A command line beginning with REM (followed by a space) performs no\n\
150 action, and can therefore be used as a comment in a batch file.\n"
153 "REN <filename> is the short version of RENAME. It renames a file.\n"
154 WCMD_RENAME, "RENAME <filename> renames a file.\n"
156 "RD <dir> is the short version of RMDIR. It deletes a subdirectory.\n"
157 WCMD_RMDIR, "RMDIR <dir> deletes a subdirectory.\n"
160 "Start a program, or open a document in the program normally used for files with that suffix.\n\
162 start [options] program_filename [...]\n\
163 start [options] document_filename\n\
166 \"title\" Specifies the title of the child windows.\n\
167 /d directory Start the program in the specified directory.\n\
168 /b Don't create a new console for the program.\n\
169 /i Start the program with fresh environment variables.\n\
170 /min Start the program minimized.\n\
171 /max Start the program maximized.\n\
172 /low Start the program in the idle priority class.\n\
173 /normal Start the program in the normal priority class.\n\
174 /high Start the program in the high priority class.\n\
175 /realtime Start the program in the realtime priority class.\n\
176 /abovenormal Start the program in the abovenormal priority class.\n\
177 /belownormal Start the program in the belownormal priority class.\n\
178 /node n Start the program on the specified NUMA node.\n\
179 /affinity mask Start the program with the specified affinity mask.\n\
180 /wait Wait for the started program to finish, then exit with its exit code.\n\
181 /unix Use a Unix filename and start the file like windows explorer.\n\
182 /ProgIDOpen Open a document using the specified progID.\n\
183 /? Display this help and exit.\n"
186 "SET displays or changes the cmd environment variables.\n\
188 SET without parameters shows all of the current environment.\n\
190 To create or modify an environment variable the syntax is:\n\
192 SET <variable>=<value>\n\
194 where <variable> and <value> are character strings. There must be no\n\
195 space before the equals sign, nor can the variable name\n\
196 have embedded spaces.\n\
198 Under Wine, the environment of the underlying operating system is\n\
199 included into the Win32 environment, there will generally therefore be\n\
200 many more values than in a native Win32 implementation. Note that it is\n\
201 not possible to affect the operating system environment from within cmd.\n"
204 "SHIFT is used in a batch file to remove one parameter from the head of\n\
205 the list, so parameter 2 becomes parameter 1 and so on. It has no effect\n\
206 if called from the command line.\n"
208 WCMD_TIME, "TIME sets or shows the current system time.\n"
210 WCMD_TITLE, "TITLE <string> sets the window title for the cmd window.\n"
213 "TYPE <filename> copies <filename> to the console device (or elsewhere\n\
214 if redirected). No check is made that the file is readable text.\n"
217 "VERIFY is used to set, clear or test the verify flag. Valid forms are:\n\
219 VERIFY ON\tSet the flag.\n\
220 VERIFY OFF\tClear the flag.\n\
221 VERIFY\t\tDisplays ON or OFF as appropriate.\n\
223 The verify flag has no function in Wine.\n"
226 "VER displays the version of cmd you are running.\n"
228 WCMD_VOL, "VOL shows the volume label of a disk device.\n"
231 "ENDLOCAL ends localization of environment changes in a batch file\n\
232 which were introduced by a preceding SETLOCAL.\n"
235 "SETLOCAL starts localization of environment changes in a batch file.\n\
237 Environment changes done after a SETLOCAL are local to the batch file, and\n\
238 are preserved until the next ENDLOCAL is encountered (or at the end of the\n\
239 file, whichever comes first), at which point the previous environment\n\
240 settings are restored.\n"
242 WCMD_PUSHD, "PUSHD <directoryname> saves the current directory onto a\n\
243 stack, and then changes the current directory to the supplied one.\n"
245 WCMD_POPD, "POPD changes current directory to the last one saved with PUSHD.\n"
247 WCMD_ASSOC, "ASSOC shows or modifies file extension associations.\n\
249 Syntax: ASSOC [.ext[=[fileType]]]\n\
251 ASSOC without parameters displays current file associations.\n\
252 If used with only a file extension, displays the current association.\n\
253 Specifying no file type after the equal sign removes the current association, if any.\n"
255 WCMD_FTYPE, "FTYPE shows or modifies open commands associated with file types.\n\
257 Syntax: FTYPE [fileType[=[openCommand]]]\n\
259 Without parameters, shows the file types for which open command strings \
260 are currently defined.\n\
261 If used with only a file type, displays the associated open command string, \
263 Specifying no open command after the equal sign removes the command string \
264 associated to the specified file type.\n"
266 WCMD_MORE, "MORE displays output of files or piped input in pages.\n"
268 WCMD_CHOICE, "CHOICE displays a text and waits, until the User\n\
269 presses an allowed Key from a selectable list.\n\
270 CHOICE is mainly used to build a menu selection in a batch file.\n"
273 "EXIT terminates the current command session and returns\n\
274 to the operating system or shell from which you invoked cmd.\n"
276 WCMD_ALLHELP, "CMD built-in commands are:\n\
277 ASSOC\t\tShow or modify file extension associations\n\
278 ATTRIB\t\tShow or change DOS file attributes\n\
279 CALL\t\tInvoke a batch file from inside another\n\
280 CD (CHDIR)\tChange current default directory\n\
281 CHOICE\t\tWait for an keypress from a selectable list\n\
282 CLS\t\tClear the console screen\n\
284 CTTY\t\tChange input/output device\n\
285 DATE\t\tShow or change the system date\n\
286 DEL (ERASE)\tDelete a file or set of files\n\
287 DIR\t\tList the contents of a directory\n\
288 ECHO\t\tCopy text directly to the console output\n\
289 ENDLOCAL\tEnd localization of environment changes in a batch file\n\
290 FTYPE\t\tShow or modify open commands associated with file types\n\
291 HELP\t\tShow brief help details on a topic\n\
292 MD (MKDIR)\tCreate a subdirectory\n\
293 MORE\t\tDisplay output in pages\n\
294 MOVE\t\tMove a file, set of files or directory tree\n\
295 PATH\t\tSet or show the search path\n\
296 PAUSE\t\tSuspend execution of a batch file\n\
297 POPD\t\tRestore the directory to the last one saved with PUSHD\n\
298 PROMPT\t\tChange the command prompt\n\
299 PUSHD\t\tChange to a new directory, saving the current one\n\
300 REN (RENAME)\tRename a file\n\
301 RD (RMDIR)\tDelete a subdirectory\n\
302 SET\t\tSet or show environment variables\n\
303 SETLOCAL\tStart localization of environment changes in a batch file\n\
304 START\t\tStart a program, or open a document in the associated program\n\
305 TIME\t\tSet or show the current system time\n\
306 TITLE\t\tSet the window title for the CMD session\n\
307 TYPE\t\tType the contents of a text file\n\
308 VER\t\tShow the current version of CMD\n\
309 VOL\t\tShow the volume label of a disk device\n\
310 XCOPY\t\tCopy source files or directory trees to a destination\n\
311 EXIT\t\tClose down CMD\n\n\
312 Enter HELP <command> for further information on any of the above commands.\n"
314 WCMD_CONFIRM, "Are you sure?"
315 WCMD_YES, "#msgctxt#Yes key#Y"
316 WCMD_NO, "#msgctxt#No key#N"
317 WCMD_NOASSOC, "File association missing for extension %1\n"
318 WCMD_NOFTYPE, "No open command associated with file type '%1'\n"
319 WCMD_OVERWRITE, "Overwrite %1?"
320 WCMD_MORESTR, "More..."
321 WCMD_TRUNCATEDLINE, "Line in Batch processing possibly truncated. Using:\n"
322 WCMD_NYI, "Not Yet Implemented\n\n"
323 WCMD_NOARG, "Argument missing\n"
324 WCMD_SYNTAXERR, "Syntax error\n"
325 WCMD_FILENOTFOUND, "%1: File Not Found\n"
326 WCMD_NOCMDHELP, "No help available for %1\n"
327 WCMD_NOTARGET, "Target to GOTO not found\n"
328 WCMD_CURRENTDATE, "Current Date is %1\n"
329 WCMD_CURRENTTIME, "Current Time is %1\n"
330 WCMD_NEWDATE, "Enter new date: "
331 WCMD_NEWTIME, "Enter new time: "
332 WCMD_MISSINGENV, "Environment variable %1 not defined\n"
333 WCMD_READFAIL, "Failed to open '%1'\n"
334 WCMD_CALLINSCRIPT, "Cannot call batch label outside of a batch script\n"
335 WCMD_ALL, "#msgctxt#All key#A"
336 WCMD_DELPROMPT, "Delete %1?"
337 WCMD_ECHOPROMPT, "Echo is %1\n"
338 WCMD_VERIFYPROMPT, "Verify is %1\n"
339 WCMD_VERIFYERR, "Verify must be ON or OFF\n"
340 WCMD_ARGERR, "Parameter error\n"
341 WCMD_VOLUMESERIALNO, "Volume Serial Number is %1!04x!-%2!04x!\n\n"
342 WCMD_VOLUMEPROMPT, "Volume label (11 characters, <Enter> for none)?"
343 WCMD_NOPATH, "PATH not found\n"
344 WCMD_ANYKEY,"Press any key to continue... "
345 WCMD_CONSTITLE,"Wine Command Prompt"
346 WCMD_VERSION,"Wine CMD Version %1!S!\n"
347 WCMD_MOREPROMPT, "More? "
348 WCMD_LINETOOLONG, "The input line is too long.\n"
349 WCMD_VOLUMELABEL, "Volume in drive %1!c! is %2\n"
350 WCMD_VOLUMENOLABEL, "Volume in drive %1!c! has no label.\n"
351 WCMD_YESNO, " (Yes|No)"
352 WCMD_YESNOALL, " (Yes|No|All)"
353 WCMD_NO_COMMAND_FOUND, "Can't recognize '%1' as an internal or external command, or batch script.\n"
354 WCMD_DIVIDEBYZERO, "Division by zero error.\n"
355 WCMD_NOOPERAND, "Expected an operand.\n"
356 WCMD_NOOPERATOR, "Expected an operator.\n"
357 WCMD_BADPAREN, "Mismatch in parentheses.\n"
358 WCMD_BADHEXOCT, "Badly formed number - must be one of decimal (12),\n hexadecimal (0x34) or octal (056).\n"