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
28 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
33 "CALL <batchfilename> is used within a batch file to execute commands from\n\
34 another batch file. When the batch file exits, control returns to the file\n\
35 which called it. The CALL command may supply parameters to the called\n\
38 Changes to default directory, environment variables etc made within a\n\
39 called procedure are inherited by the caller.\n"
42 "CD <directory> is the short version of CHDIR. It changes the current\n\
46 "CHDIR <directory> changes the current default directory.\n"
49 "CLS clears the console screen.\n"
52 "COPY <filename> copies a file.\n"
55 "CTTY changes the input/output device.\n"
58 "DATE shows or changes the system date.\n"
61 "DEL <filename> deletes a file or set of files.\n"
64 "DIR lists the contents of a directory.\n"
67 "ECHO <string> displays <string> on the current terminal device.\n\
69 ECHO ON causes all subsequent commands in a batch file to be displayed on\n\
70 the terminal device before they are executed.\n\
72 ECHO OFF reverses the effect of a previous ECHO ON (ECHO is OFF by\n\
73 default). The ECHO OFF command can be prevented from displaying by\n\
74 preceding it with an @ sign.\n"
77 "ERASE <filename> deletes a file or set of files.\n"
80 "The FOR command is used to execute a command for each of a set of files.\n\
82 Usage: FOR %variable IN (set) DO command\n\
84 The % sign must be doubled when using FOR in a batch file.\n"
87 "The GOTO command transfers execution to another statement within a batch\n\
90 The label which is the target of a GOTO may be up to 255 characters long\n\
91 but may not include spaces (this is different from other operating\n\
92 systems). If two or more identical labels exist in a batch file the first\n\
93 one will always be executed. Attempting to GOTO a nonexistent label\n\
94 terminates the batch file execution.\n\
96 GOTO has no effect when used interactively.\n"
99 "HELP <command> shows brief help details on a topic.\n\
100 HELP without an argument shows all CMD built-in commands.\n"
103 "IF is used to conditionally execute a command.\n\
105 Syntax: IF [NOT] EXIST filename command\n\
106 \ IF [NOT] string1==string2 command\n\
107 \ IF [NOT] ERRORLEVEL number command\n\
109 In the second form of the command, string1 and string2 must be in double\n\
110 quotes. The comparison is not case-sensitive.\n"
113 "LABEL is used to set a disk volume label.\n\
115 Syntax: LABEL [drive:]\n\
116 The command will prompt you for the new volume label for the given drive.\n\
117 You can display the disk volume label with the VOL command.\n"
120 "MD <name> is the short version of MKDIR. It creates a subdirectory.\n"
122 WCMD_MKDIR, "MKDIR <name> creates a subdirectory.\n"
125 "MOVE relocates a file or directory to a new point within the file system.\n\
127 If the item being moved is a directory then all the files and\n\
128 subdirectories below the item are moved as well.\n\
130 MOVE fails if the old and new locations are on different DOS drive letters.\n"
133 "PATH displays or changes the cmd search path.\n\
135 Entering PATH will display the current PATH setting (initially taken from\n\
136 the registry). To change the setting follow the PATH command with the new\n\
139 It is also possible to modify the PATH by using the PATH environment\n\
140 variable, for example:\n\
141 PATH %PATH%;c:\\temp\n"
144 "PAUSE displays a message on the screen asking the user to press a key.\n\
146 It is mainly useful in batch files to allow the user to read the output of\n\
147 a previous command before it scrolls off the screen.\n"
150 "PROMPT sets the command-line prompt.\n\
152 The string following the PROMPT command (and the space immediately after)\n\
153 appears at the beginning of the line when cmd is waiting for input.\n\
155 The following character strings have the special meaning shown:\n\
157 $$ Dollar sign $_ Linefeed $b Pipe sign (|)\n\
158 $d Current date $e Escape $g > sign\n\
159 $l < sign $n Current drive $p Current path\n\
160 $q Equal sign $t Current time $v cmd version\n\
162 Note that entering the PROMPT command without a prompt-string resets the\n\
163 prompt to the default, which is the current directory (which includes the\n\
164 current drive letter) followed by a greater-than (>) sign.\n\
165 (like a command PROMPT $p$g).\n\
167 The prompt can also be changed by altering the PROMPT environment variable,\n\
168 so the command 'SET PROMPT=text' has the same effect as 'PROMPT text'.\n"
171 "A command line beginning with REM (followed by a space) performs no action,\n\
172 and can therefore be used as a comment in a batch file.\n"
175 "REN <filename> is the short version of RENAME. It renames a file.\n"
177 WCMD_RENAME, "RENAME <filename> renames a file.\n"
180 "RD <directory> is the short version of RMDIR. It deletes a directory.\n"
182 WCMD_RMDIR, "RMDIR <directory> deletes a directory.\n"
185 "Start a program, or open a document in the program normally used for files\n\
188 start [options] program_filename [...]\n\
189 start [options] document_filename\n\
192 \"title\" Specifies the title of the child windows.\n\
193 /d directory Start the program in the specified directory.\n\
194 /b Don't create a new console for the program.\n\
195 /i Start the program with fresh environment variables.\n\
196 /min Start the program minimized.\n\
197 /max Start the program maximized.\n\
198 /low Start the program in the idle priority class.\n\
199 /normal Start the program in the normal priority class.\n\
200 /high Start the program in the high priority class.\n\
201 /realtime Start the program in the realtime priority class.\n\
202 /abovenormal Start the program in the abovenormal priority class.\n\
203 /belownormal Start the program in the belownormal priority class.\n\
204 /node n Start the program on the specified NUMA node.\n\
205 /affinity mask Start the program with the specified affinity mask.\n\
206 /wait Wait for the started program to finish, then exit with its\n\
208 /unix Use a Unix filename and start the file like Windows\n\
210 /ProgIDOpen Open a document using the specified progID.\n\
211 /? Display this help and exit.\n"
214 "SET displays or changes the cmd environment variables.\n\
216 SET without parameters shows all of the current environment.\n\
218 To create or modify an environment variable the syntax is:\n\
220 SET <variable>=<value>\n\
222 where <variable> and <value> are character strings. There must be no space\n\
223 before the equals sign, nor can the variable name have embedded spaces.\n\
225 Under Wine, the environment of the underlying operating system is included\n\
226 into the Win32 environment, there will generally therefore be many more\n\
227 values than in a native Win32 implementation. Note that it is not possible\n\
228 to affect the operating system environment from within cmd.\n"
231 "SHIFT is used in a batch file to remove one parameter from the head of the\n\
232 list, so parameter 2 becomes parameter 1 and so on. It has no effect if\n\
233 called from the command line.\n"
236 "TIME sets or shows the current system time.\n"
239 "TITLE <string> sets the window title for the cmd window.\n"
242 "TYPE <filename> copies <filename> to the console device (or elsewhere if\n\
243 redirected). No check is made that the file is readable text.\n"
246 "VERIFY is used to set, clear or test the verify flag. Valid forms are:\n\
248 VERIFY ON\tSet the flag.\n\
249 VERIFY OFF\tClear the flag.\n\
250 VERIFY\t\tDisplays ON or OFF as appropriate.\n\
252 The verify flag has no function in Wine.\n"
255 "VER displays the version of cmd you are running.\n"
258 "VOL shows the volume label of a disk device.\n"
261 "ENDLOCAL ends localization of environment changes in a batch file which\n\
262 were introduced by a preceding SETLOCAL.\n"
265 "SETLOCAL starts localization of environment changes in a batch file.\n\
267 Environment changes done after a SETLOCAL are local to the batch file, and\n\
268 are preserved until the next ENDLOCAL is encountered (or at the end of the\n\
269 file, whichever comes first), at which point the previous environment\n\
270 settings are restored.\n"
273 "PUSHD <directory> saves the current directory onto a stack, and then\n\
274 changes the current directory to the supplied one.\n"
277 "POPD changes current directory to the last one saved with PUSHD.\n"
280 "ASSOC shows or modifies file extension associations.\n\
282 Syntax: ASSOC [.ext[=[fileType]]]\n\
284 ASSOC without parameters displays current file associations.\n\
285 If used with only a file extension, displays the current association.\n\
286 Specifying no file type after the equal sign removes the current\n\
287 association, if any.\n"
290 "FTYPE shows or modifies open commands associated with file types.\n\
292 Syntax: FTYPE [fileType[=[openCommand]]]\n\
294 Without parameters, shows the file types for which open command strings are\n\
295 currently defined.\n\
296 If used with only a file type, displays the associated open command string,\n\
298 Specifying no open command after the equal sign removes the command string\n\
299 associated to the specified file type.\n"
302 "MORE displays output of files or piped input in pages.\n"
305 "CHOICE displays a text and waits, until the User presses an allowed Key\n\
306 from a selectable list.\n\
307 CHOICE is mainly used to build a menu selection in a batch file.\n"
310 "EXIT terminates the current command session and returns to the operating\n\
311 system or shell from which you invoked cmd.\n"
314 "Create a symbolic link.\n\
316 Syntax: MKLINK [options] link_name target\n\
319 /d Create a directory symbolic link.\n\
320 /h Create a hard link.\n\
321 /j Create a directory junction.\n\
322 link_name is the name of the new symbolic link.\n\
323 target is the path that link_name points to.\n"
326 "CMD built-in commands are:\n\
327 ASSOC\t\tShow or modify file extension associations\n\
328 ATTRIB\t\tShow or change DOS file attributes\n\
329 CALL\t\tInvoke a batch file from inside another\n\
330 CD (CHDIR)\tChange current default directory\n\
331 CHOICE\t\tWait for an keypress from a selectable list\n\
332 CLS\t\tClear the console screen\n\
334 CTTY\t\tChange input/output device\n\
335 DATE\t\tShow or change the system date\n\
336 DEL (ERASE)\tDelete a file or set of files\n\
337 DIR\t\tList the contents of a directory\n\
338 ECHO\t\tCopy text directly to the console output\n\
339 ENDLOCAL\tEnd localization of environment changes in a batch file\n\
340 FTYPE\t\tShow or modify open commands associated with file types\n\
341 HELP\t\tShow brief help details on a topic\n\
342 MD (MKDIR)\tCreate a subdirectory\n\
343 MKLINK\tCreate a symbolic link\n\
344 MORE\t\tDisplay output in pages\n\
345 MOVE\t\tMove a file, set of files or directory tree\n\
346 PATH\t\tSet or show the search path\n\
347 PAUSE\t\tSuspend execution of a batch file\n\
348 POPD\t\tRestore the directory to the last one saved with PUSHD\n\
349 PROMPT\t\tChange the command prompt\n\
350 PUSHD\t\tChange to a new directory, saving the current one\n\
351 REN (RENAME)\tRename a file\n\
352 RD (RMDIR)\tDelete a subdirectory\n\
353 SET\t\tSet or show environment variables\n\
354 SETLOCAL\tStart localization of environment changes in a batch file\n\
355 START\t\tStart a program, or open a document in the associated program\n\
356 TIME\t\tSet or show the current system time\n\
357 TITLE\t\tSet the window title for the CMD session\n\
358 TYPE\t\tType the contents of a text file\n\
359 VER\t\tShow the current version of CMD\n\
360 VOL\t\tShow the volume label of a disk device\n\
361 XCOPY\t\tCopy source files or directory trees to a destination\n\
362 EXIT\t\tClose down CMD\n\n\
363 Enter HELP <command> for further information on any of the above commands.\n"
364 WCMD_CONFIRM, "Are you sure?"
365 WCMD_YES, "#msgctxt#Yes key#Y"
366 WCMD_NO, "#msgctxt#No key#N"
367 WCMD_NOASSOC, "File association missing for extension %1\n"
368 WCMD_NOFTYPE, "No open command associated with file type '%1'\n"
369 WCMD_OVERWRITE, "Overwrite %1?"
370 WCMD_MORESTR, "More..."
371 WCMD_TRUNCATEDLINE, "Line in Batch processing possibly truncated. Using:\n"
372 WCMD_NYI, "Not Yet Implemented\n\n"
373 WCMD_NOARG, "Argument missing\n"
374 WCMD_SYNTAXERR, "Syntax error\n"
375 WCMD_FILENOTFOUND, "%1: File Not Found\n"
376 WCMD_NOCMDHELP, "No help available for %1\n"
377 WCMD_NOTARGET, "Target to GOTO not found\n"
378 WCMD_CURRENTDATE, "Current Date is %1\n"
379 WCMD_CURRENTTIME, "Current Time is %1\n"
380 WCMD_NEWDATE, "Enter new date: "
381 WCMD_NEWTIME, "Enter new time: "
382 WCMD_MISSINGENV, "Environment variable %1 not defined\n"
383 WCMD_READFAIL, "Failed to open '%1'\n"
384 WCMD_CALLINSCRIPT, "Cannot call batch label outside of a batch script\n"
385 WCMD_ALL, "#msgctxt#All key#A"
386 WCMD_DELPROMPT, "Delete %1?"
387 WCMD_ECHOPROMPT, "Echo is %1\n"
388 WCMD_VERIFYPROMPT, "Verify is %1\n"
389 WCMD_VERIFYERR, "Verify must be ON or OFF\n"
390 WCMD_ARGERR, "Parameter error\n"
391 WCMD_VOLUMESERIALNO, "Volume Serial Number is %1!04x!-%2!04x!\n\n"
392 WCMD_VOLUMEPROMPT, "Volume label (11 characters, <Enter> for none)?"
393 WCMD_NOPATH, "PATH not found\n"
394 WCMD_ANYKEY,"Press any key to continue... "
395 WCMD_CONSTITLE,"Wine Command Prompt"
396 WCMD_VERSION,"Microsoft Windows %1!S!\n"
397 WCMD_MOREPROMPT, "More? "
398 WCMD_LINETOOLONG, "The input line is too long.\n"
399 WCMD_VOLUMELABEL, "Volume in drive %1!c! is %2\n"
400 WCMD_VOLUMENOLABEL, "Volume in drive %1!c! has no label.\n"
401 WCMD_YESNO, " (Yes|No)"
402 WCMD_YESNOALL, " (Yes|No|All)"
403 WCMD_NO_COMMAND_FOUND, "Can't recognize '%1' as an internal or external command, or batch script.\n"
404 WCMD_DIVIDEBYZERO, "Division by zero error.\n"
405 WCMD_NOOPERAND, "Expected an operand.\n"
406 WCMD_NOOPERATOR, "Expected an operator.\n"
407 WCMD_BADPAREN, "Mismatch in parentheses.\n"
408 WCMD_BADHEXOCT, "Badly formed number - must be one of decimal (12),\n hexadecimal (0x34) or octal (056).\n"
409 WCMD_FILENAMETOOLONG, "File name is too long.\n"