ntdll: Fix frame address check in RtlCaptureStackBackTrace to match what RtlUnwind...
[wine.git] / programs / cmd / cmd.rc
blob0cf96fe44ec3703f05d66079ad675b9507ee0db2
1 /*
2  * Wine command prompt resources
3  *
4  * Copyright (C) 1999 D A Pickles
5  *
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.
10  *
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.
15  *
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
19  */
21 #include "wcmd.h"
23 /* @makedep: wcmd.ico */
24 IDI_ICON1 ICON wcmd.ico
26 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
28 STRINGTABLE
30   WCMD_ATTRIB, "ATTRIB shows or changes DOS file attributes.\n"
31   WCMD_CALL,
32 "CALL <batchfilename> is used within a batch file to execute commands\n\
33 from another batch file. When the batch file exits, control returns to\n\
34 the file which called it. The CALL command may supply parameters to the\n\
35 called procedure.\n\
36 \n\
37 Changes to default directory, environment variables etc made within a\n\
38 called procedure are inherited by the caller.\n"
40   WCMD_CD,     "CD <dir> is the short version of CHDIR. It changes the current\n\
41 default directory.\n"
42   WCMD_CHDIR,  "CHDIR <dir> changes the current default directory.\n"
44   WCMD_CLS,    "CLS clears the console screen.\n"
46   WCMD_COPY,   "COPY <filename> copies a file.\n"
47   WCMD_CTTY,   "CTTY changes the input/output device.\n"
48   WCMD_DATE,   "DATE shows or changes the system date.\n"
49   WCMD_DEL,    "DEL <filename> deletes a file or set of files.\n"
50   WCMD_DIR,    "DIR lists the contents of a directory.\n"
52   WCMD_ECHO,
53 "ECHO <string> displays <string> on the current terminal device.\n\
54 \n\
55 ECHO ON causes all subsequent commands in a batch file to be displayed\n\
56 on the terminal device before they are executed.\n\
57 \n\
58 ECHO OFF reverses the effect of a previous ECHO ON (ECHO is OFF by\n\
59 default). The ECHO OFF command can be prevented from displaying by\n\
60 preceding it with an @ sign.\n"
62   WCMD_ERASE,  "ERASE <filename> deletes a file or set of files.\n"
64   WCMD_FOR,
65 "The FOR command is used to execute a command for each of a set of files.\n\
66 \n\
67 Syntax: FOR %variable IN (set) DO command\n\
68 \n\
69 The requirement to double the % sign when using FOR in a batch file does\n\
70 not exist in wine's cmd.\n"
72   WCMD_GOTO,
73 "The GOTO command transfers execution to another statement within a\n\
74 batch file.\n\
75 \n\
76 The label which is the target of a GOTO may be up to 255 characters\n\
77 long but may not include spaces (this is different from other operating\n\
78 systems). If two or more identical labels exist in a batch file the\n\
79 first one will always be executed. Attempting to GOTO a nonexistent\n\
80 label terminates the batch file execution.\n\
81 \n\
82 GOTO has no effect when used interactively.\n"
84   WCMD_HELP,   "HELP <command> shows brief help details on a topic.\n\
85 HELP without an argument shows all CMD built-in commands.\n"
87   WCMD_IF,
88 "IF is used to conditionally execute a command.\n\
89 \n\
90 Syntax: IF [NOT] EXIST filename command\n\
91         IF [NOT] string1==string2 command\n\
92         IF [NOT] ERRORLEVEL number command\n\
93 \n\
94 In the second form of the command, string1 and string2 must be in double\n\
95 quotes. The comparison is not case-sensitive.\n"
97   WCMD_LABEL,  "LABEL is used to set a disk volume label.\n\
98 \n\
99 Syntax: LABEL [drive:]\n\
100 The command will prompt you for the new volume label for the given drive.\n\
101 You can display the disk volume label with the VOL command.\n"
103   WCMD_MD,
104 "MD <name> is the short version of MKDIR. It creates a subdirectory.\n"
105   WCMD_MKDIR,  "MKDIR <name> creates a subdirectory.\n"
106   WCMD_MOVE,
107 "MOVE relocates a file or directory to a new point within the file system.\n\
109 If the item being moved is a directory then all the files and subdirectories\n\
110 below the item are moved as well.\n\
112 MOVE fails if the old and new locations are on different DOS drive letters.\n"
114   WCMD_PATH,
115 "PATH displays or changes the cmd search path.\n\
117 Entering PATH will display the current PATH setting (initially taken\n\
118 from the registry). To change the setting follow the\n\
119 PATH command with the new value.\n\
121 It is also possible to modify the PATH by using the PATH environment\n\
122 variable, for example:\n\
123                 PATH %PATH%;c:\\temp\n"
125   WCMD_PAUSE,
126 "PAUSE displays a message on the screen 'Press Return key to continue'\n\
127 and waits for the user to press the Return key. It is mainly useful in\n\
128 batch files to allow the user to read the output of a previous command\n\
129 before it scrolls off the screen.\n"
131   WCMD_PROMPT,
132 "PROMPT sets the command-line prompt.\n\
134 The string following the PROMPT command (and the space immediately after)\n\
135 appears at the beginning of the line when cmd is waiting for input.\n\
137 The following character strings have the special meaning shown:\n\
139 $$    Dollar sign         $_    Linefeed            $b    Pipe sign (|)\n\
140 $d    Current date        $e    Escape              $g    > sign\n\
141 $l    < sign              $n    Current drive       $p    Current path\n\
142 $q    Equal sign          $t    Current time        $v    cmd version\n\
144 Note that entering the PROMPT command without a prompt-string resets the\n\
145 prompt to the default, which is the current directory (which includes the\n\
146 current drive letter) followed by a greater-than (>) sign.\n\
147 (like a command PROMPT $p$g).\n\
149 The prompt can also be changed by altering the PROMPT environment variable,\n\
150 so the command 'SET PROMPT=text' has the same effect as 'PROMPT text'\n"
152   WCMD_REM,
153 "A command line beginning REM (followed by a space) performs no\n\
154 action, and can therefore be used as a comment in a batch file.\n"
156   WCMD_REN,
157 "REN <filename> is the short version of RENAME. It renames a file.\n"
158   WCMD_RENAME, "RENAME <filename> renames a file\n"
159   WCMD_RD,
160 "RD <dir> is the short version of RMDIR. It deletes a subdirectory.\n"
161   WCMD_RMDIR,  "RMDIR <dir> deletes a subdirectory.\n"
163   WCMD_SET,
164 "SET displays or changes the cmd environment variables.\n\
166 SET without parameters shows all of the current environment.\n\
168 To create or modify an environment variable the syntax is:\n\
170       SET <variable>=<value>\n\
172 where <variable> and <value> are character strings. There must be no\n\
173 spaces before the equals sign, nor can the variable name\n\
174 have embedded spaces.\n\
176 Under Wine, the environment of the underlying operating system is\n\
177 included into the Win32 environment, there will generally therefore be\n\
178 many more values than in a native Win32 implementation. Note that it is\n\
179 not possible to affect the operating system environment from within cmd.\n"
181   WCMD_SHIFT,
182 "SHIFT is used in a batch file to remove one parameter from the head of\n\
183 the list, so parameter 2 becomes parameter 1 and so on. It has no effect\n\
184 if called from the command line.\n"
186   WCMD_TIME,   "TIME sets or shows the current system time.\n"
188   WCMD_TITLE,  "Sets the window title for the cmd window, syntax TITLE [string]\n"
190   WCMD_TYPE,
191 "TYPE <filename> copies <filename> to the console device (or elsewhere\n\
192 if redirected). No check is made that the file is readable text.\n"
194   WCMD_VERIFY,
195 "VERIFY is used to set, clear or test the verify flag. Valid forms are:\n\
197 VERIFY ON\tSet the flag\n\
198 VERIFY OFF\tClear the flag\n\
199 VERIFY\t\tDisplays ON or OFF as appropriate.\n\
201 The verify flag has no function in Wine.\n"
203   WCMD_VER,
204 "VER displays the version of cmd you are running\n"
206   WCMD_VOL,    "VOL shows the volume label of a disk device.\n"
208   WCMD_PUSHD,  "PUSHD <directoryname> saves the current directory onto a\n\
209 stack, and then changes the current directory to the supplied one.\n"
211   WCMD_POPD,   "POPD changes current directory to the last one saved with\n\
212 PUSHD.\n"
214   WCMD_MORE,   "MORE displays output of files or piped input in pages.\n"
216   WCMD_CHOICE, "CHOICE displays a text and waits, until the User\n\
217 presses an allowed Key from a selectable list.\n\
218 CHOICE is mainly used to build a menu selection in a batch file.\n"
220   WCMD_EXIT,
221 "EXIT terminates the current command session and returns\n\
222 to the operating system or shell from which you invoked cmd.\n"
224   WCMD_ALLHELP, "CMD built-in commands are:\n\
225 ATTRIB\t\tShow or change DOS file attributes\n\
226 CALL\t\tInvoke a batch file from inside another\n\
227 CD (CHDIR)\tChange current default directory\n\
228 CHOICE\t\tWait for an keypress from a selectable list\n\
229 CLS\t\tClear the console screen\n\
230 COPY\t\tCopy file\n\
231 CTTY\t\tChange input/output device\n\
232 DATE\t\tShow or change the system date\n\
233 DEL (ERASE)\tDelete a file or set of files\n\
234 DIR\t\tList the contents of a directory\n\
235 ECHO\t\tCopy text directly to the console output\n\
236 HELP\t\tShow brief help details on a topic\n\
237 MD (MKDIR)\tCreate a subdirectory\n\
238 MORE\t\tDisplay output in pages\n\
239 MOVE\t\tMove a file, set of files or directory tree\n\
240 PATH\t\tSet or show the search path\n\
241 POPD\t\tRestores the directory to the last one saved with PUSHD\n\
242 PROMPT\t\tChange the command prompt\n\
243 PUSHD\t\tChanges to a new directory, saving the current one\n\
244 REN (RENAME)\tRename a file\n\
245 RD (RMDIR)\tDelete a subdirectory\n\
246 SET\t\tSet or show environment variables\n\
247 TIME\t\tSet or show the current system time\n\
248 TITLE\t\tSet the window title for the CMD session\n\
249 TYPE\t\tType the contents of a text file\n\
250 VER\t\tShow the current version of CMD\n\
251 VOL\t\tShow the volume label of a disk device\n\
252 EXIT\t\tClose down CMD\n\n\
253 Enter HELP <command> for further information on any of the above commands\n"
255   WCMD_CONFIRM, "Are you sure"
256   WCMD_YES, "#msgctxt#Yes key#Y"
257   WCMD_NO, "#msgctxt#No key#N"
258   WCMD_NOASSOC, "File association missing for extension %s\n"
259   WCMD_NOFTYPE, "No open command associated with file type '%s'\n"
260   WCMD_OVERWRITE, "Overwrite %s"
261   WCMD_MORESTR, "More..."
262   WCMD_TRUNCATEDLINE, "Line in Batch processing possibly truncated. Using:\n"
263   WCMD_NYI, "Not Yet Implemented\n\n"
264   WCMD_NOARG, "Argument missing\n"
265   WCMD_SYNTAXERR, "Syntax error\n"
266   WCMD_FILENOTFOUND, "%s : File Not Found\n"
267   WCMD_NOCMDHELP, "No help available for %s\n"
268   WCMD_NOTARGET, "Target to GOTO not found\n"
269   WCMD_CURRENTDATE, "Current Date is %s\n"
270   WCMD_CURRENTTIME, "Current Time is %s\n"
271   WCMD_NEWDATE, "Enter new date: "
272   WCMD_NEWTIME, "Enter new time: "
273   WCMD_MISSINGENV, "Environment variable %s not defined\n"
274   WCMD_READFAIL, "Failed to open '%s'\n"
275   WCMD_CALLINSCRIPT, "Cannot call batch label outside of a batch script\n"
276   WCMD_ALL, "#msgctxt#All key#A"
277   WCMD_DELPROMPT, "%s, Delete"
278   WCMD_ECHOPROMPT, "Echo is %s\n"
279   WCMD_VERIFYPROMPT, "Verify is %s\n"
280   WCMD_VERIFYERR, "Verify must be ON or OFF\n"
281   WCMD_ARGERR, "Parameter error\n"
282   WCMD_VOLUMEDETAIL, "Volume in drive %c is %s\nVolume Serial Number is %04x-%04x\n\n"
283   WCMD_VOLUMEPROMPT, "Volume label (11 characters, ENTER for none)?"
284   WCMD_NOPATH, "PATH not found\n"
285   WCMD_ANYKEY,"Press Return key to continue: "
286   WCMD_CONSTITLE,"Wine Command Prompt"
287   WCMD_VERSION,"CMD Version %s\n\n"
288   WCMD_MOREPROMPT, "More? "
289   WCMD_LINETOOLONG, "The input line is too long.\n"