Repair SetLastError in FindNextFileA.
[wine.git] / programs / wcmd / wcmdrc.rc
blob94a08decdef1080e0d3598130edb052fbbcbad3f
1 /*
2  * Copyright (C) 1999 D A Pickles
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
19 #include "wcmd.h"
21 STRINGTABLE
23   WCMD_ATTRIB, "Help about ATTRIB\n"
24   WCMD_CALL,
25 "CALL <batchfilename> is used within a batch file to execute commands \
26 from another batch file. When the batch file exits, control returns to \
27 the file which called it. The CALL command may supply parameters to the \
28 called procedure. \
29  \
30 Changes to default directory, environment variables etc made within a \
31 called procedure are inherited by the caller.\n"
33   WCMD_CD,     "Help about CD\n"
34   WCMD_CHDIR,  "Help about CHDIR\n"
36   WCMD_CLS,
37 "CLS clears the console screen\n"
39   WCMD_COPY,   "Help about COPY\n"
40   WCMD_CTTY,   "Help about CTTY\n"
41   WCMD_DATE,   "Help about DATE\n"
42   WCMD_DEL,    "Help about DEL\n"
43   WCMD_DIR,    "Help about DIR\n"
45   WCMD_ECHO,
46 "ECHO <string> displays <string> on the current terminal device.\
47  \
48 ECHO ON causes all subsequent commands in a batch file to be displayed\
49 on the terminal device before they are executed.\
50  \
51 ECHO OFF reverses the effect of a previous ECHO ON (ECHO is OFF by\
52 default). The ECHO OFF command can be prevented from displaying by\
53 preceding it with an @ sign.\n"
55   WCMD_ERASE,  "Help about ERASE\n"
57   WCMD_FOR,
58 "The FOR command is used to execute a command for each of a set of files. \
59  \
60 Syntax: FOR %variable IN (set) DO command \
61  \
62 The requirement to double the % sign when using FOR in a batch file does \
63 not exist in wcmd.\n"
65   WCMD_GOTO,
66 "The GOTO command transfers execution to another statement within a \
67 batch file. \
68  \
69 The label which is the target of a GOTO may be up to 255 characters \
70 long but may not include spaces (this is different to other operating \
71 systems). If two or more identical labels exist in a batch file the \
72 first one will always be executed. Attempting to GOTO a non-existent \
73 label terminates the batch file execution. \
74  \
75 GOTO has no effect when used interactively.\n"
77   WCMD_HELP,   "Help about HELP\n"
79   WCMD_IF,
80 "IF is used to conditionally execute a command.\
81  \
82 Syntax: IF [NOT] EXIST filename command \
83         IF [NOT] string1==string2 command \
84         IF [NOT] ERRORLEVEL number command \
85  \
86 In the second form of the command, string1 and string2 must be in double \
87 quotes. The comparison is not case-sensitive.\n"
89   WCMD_LABEL,  "Help about LABEL\n"
90   WCMD_MD,     "Help about MD\n"
91   WCMD_MKDIR,  "Help about MKDIR\n"
92   WCMD_MOVE,
93 "MOVE relocates a file or directory to a new point within the file system. \
94  \
95 If the item being moved is a directory then all the files and subdirectories \
96 below the item are moved as well. \
97  \
98 MOVE fails if the old and new locations are on different DOS drive letters.\n"
100   WCMD_PATH,
101 "PATH displays or changes the wcmd search path. \
103 Entering PATH will display the current PATH setting (initially this is \
104 the value given in your wine.conf file). To change the setting follow the \
105 PATH command with the new value. \
107 It is also possible to modify the PATH by using the PATH environment \
108 variable, for example: \
109                 PATH %PATH%;c:\\temp \n"
111   WCMD_PAUSE,
112 "PAUSE displays a message on the screen 'Press Return key to continue'\
113 and waits for the user to press the Return key. It is mainly useful in\
114 batch files to allow the user to read the output of a previous command\
115 before it scrolls off the screen.\n"
117   WCMD_PROMPT,
118 "PROMPT sets the command-line prompt.\
120 The string following the PROMPT command (and the space immediately after)\
121 appears at the beginning of the line when wcmd is waiting for input.\
123 The following character strings have the special meaning shown:\
125 $$    Dollar sign         $_    Linefeed            $b    Pipe sign (|)\
126 $d    Current date        $e    Escape              $g    > sign\
127 $l    > sign              $n    Current drive       $p    Current path\
128 $q    Equal sign          $t    Current time        $v    wcmd version\
130 Note that entering the PROMPT command without a prompt-string resets the\
131 prompt to the default, which is the current drive letter followed by a\
132 greater-than (>) sign.\
134 The prompt can also be changed by altering the PROMPT environment variable,\
135 so the command 'SET PROMPT=text' has the same effect as 'PROMPT text'\n"
137   WCMD_REM,
138 "A command line beginning REM (followed by a space) performs no\
139 action, and can therefore be used as a comment in a batch file.\n"
141   WCMD_REN,    "Help about REN\n"
142   WCMD_RENAME, "Help about RENAME\n"
143   WCMD_RD,     "Help about RD\n"
144   WCMD_RMDIR,  "Help about RMDIR\n"
146   WCMD_SET,
147 "SET displays or changes the wcmd environment variables.\
149 SET without parameters shows all of the current environment.\
151 To create or modify an environment variable the syntax is:\
153       SET <variable>=<value>\
155 where <variable> and <value> are character strings. There must be no\
156 spaces either side of the equals sign, nor can the variable or value\
157 have embedded spaces.\
159 Under Wine, the environment of the underlying operating system is\
160 included into the Win32 environment, there will generally therefore be\
161 many more values than in a native Win32 implementation. Note that it is\
162 not possible to affect the operating system environment from within wcmd.\n"
164   WCMD_SHIFT,
165 "SHIFT is used in a batch file to remove one parameter from the head of \
166 the list, so parameter 2 becomes parameter 1 and so on. It has no effect \
167 if called from the command line.\n"
169   WCMD_TIME,   "Help about TIME\n"
171   WCMD_TITLE,  "Sets the window title for the wcmd window, syntax TITLE [string]"
173   WCMD_TYPE,
174 "TYPE <filename> copies <filename> to the console device (or elsewhere\
175 if redirected). No check is made that the file is readable text.\n"
177   WCMD_VERIFY,
178 "VERIFY is used to set, clear or test the verify flag. Valid forms are: \
180 VERIFY ON       Set the flag \
181 VERIFY OFF      Clear the flag \
182 VERIFY          Displays ON or OFF as appropriate. \
184 The verify flag has no function in Wine.\n"
186   WCMD_VER,
187 "VER displays the version of wcmd you are running\n"
189   WCMD_VOL,    "Help about VOL\n"
191   WCMD_EXIT,
192 "EXIT terminates the current command session and returns\
193 to the operating system or shell from which you invoked wcmd.\n"
195   1000, "WCMD built-in commands are:\
196 ATTRIB\t\tShow or change DOS file attributes\
197 CALL\t\tInvoke a batch file from inside another\
198 CD (CHDIR)\tChange current default directory\
199 CLS\t\tClear the console screen\
200 COPY\t\tCopy file\
201 CTTY\t\tChange input/output device\
202 DATE\t\tShow or change the system date\
203 DEL (ERASE)\tDelete a file or set of files\
204 DIR\t\tList the contents of a directory\
205 ECHO\t\tCopy text directly to the console output\
206 HELP\t\tShow brief help details on a topic\
207 MD (MKDIR)\tCreate a subdirectory\
208 MOVE\t\tMove a file, set of files or directory tree\
209 PATH\t\tSet or show the search path\
210 PROMPT\t\tChange the command prompt\
211 REN (RENAME)\tRename a file\
212 RD (RMDIR)\tDelete a subdirectory\
213 SET\t\tSet or show environment variables\
214 TIME\t\tSet or show the current system time\
215 TITLE\t\tSet the window title for the WCMD session\
216 TYPE\t\tType the contents of a text file\
217 VER\t\tShow the current version of WCMD\
218 VOL\t\tShow the volume label of a disk device\
219 EXIT\t\tClose down WCMD\n\
220 Enter HELP <command> for further information on any of the above commands\n"
222 LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
225 IDI_ICON1 ICON
227  '00 00 01 00 01 00 20 20 00 01 00 00 00 00 A8 08'
228  '00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
229  '00 00 01 00 08 00 00 00 00 00 80 04 00 00 00 00'
230  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
231  '00 00 40 00 00 00 80 00 00 00 FF 00 00 00 00 20'
232  '00 00 40 20 00 00 80 20 00 00 FF 20 00 00 00 40'
233  '00 00 40 40 00 00 80 40 00 00 FF 40 00 00 00 60'
234  '00 00 40 60 00 00 80 60 00 00 FF 60 00 00 00 80'
235  '00 00 40 80 00 00 80 80 00 00 FF 80 00 00 00 A0'
236  '00 00 40 A0 00 00 80 A0 00 00 FF A0 00 00 00 C0'
237  '00 00 40 C0 00 00 80 C0 00 00 FF C0 00 00 00 FF'
238  '00 00 40 FF 00 00 80 FF 00 00 FF FF 00 00 00 00'
239  '20 00 40 00 20 00 80 00 20 00 FF 00 20 00 00 20'
240  '20 00 40 20 20 00 80 20 20 00 FF 20 20 00 00 40'
241  '20 00 40 40 20 00 80 40 20 00 FF 40 20 00 00 60'
242  '20 00 40 60 20 00 80 60 20 00 FF 60 20 00 00 80'
243  '20 00 40 80 20 00 80 80 20 00 FF 80 20 00 00 A0'
244  '20 00 40 A0 20 00 80 A0 20 00 FF A0 20 00 00 C0'
245  '20 00 40 C0 20 00 80 C0 20 00 FF C0 20 00 00 FF'
246  '20 00 40 FF 20 00 80 FF 20 00 FF FF 20 00 00 00'
247  '40 00 40 00 40 00 80 00 40 00 FF 00 40 00 00 20'
248  '40 00 40 20 40 00 80 20 40 00 FF 20 40 00 00 40'
249  '40 00 40 40 40 00 80 40 40 00 FF 40 40 00 00 60'
250  '40 00 40 60 40 00 80 60 40 00 FF 60 40 00 00 80'
251  '40 00 40 80 40 00 80 80 40 00 FF 80 40 00 00 A0'
252  '40 00 40 A0 40 00 80 A0 40 00 FF A0 40 00 00 C0'
253  '40 00 40 C0 40 00 80 C0 40 00 FF C0 40 00 00 FF'
254  '40 00 40 FF 40 00 80 FF 40 00 FF FF 40 00 00 00'
255  '60 00 40 00 60 00 80 00 60 00 FF 00 60 00 00 20'
256  '60 00 40 20 60 00 80 20 60 00 FF 20 60 00 00 40'
257  '60 00 40 40 60 00 80 40 60 00 FF 40 60 00 00 60'
258  '60 00 40 60 60 00 80 60 60 00 FF 60 60 00 00 80'
259  '60 00 40 80 60 00 80 80 60 00 FF 80 60 00 00 A0'
260  '60 00 40 A0 60 00 80 A0 60 00 FF A0 60 00 00 C0'
261  '60 00 40 C0 60 00 80 C0 60 00 FF C0 60 00 00 FF'
262  '60 00 40 FF 60 00 80 FF 60 00 FF FF 60 00 00 00'
263  '80 00 40 00 80 00 80 00 80 00 FF 00 80 00 00 20'
264  '80 00 40 20 80 00 80 20 80 00 FF 20 80 00 00 40'
265  '80 00 40 40 80 00 80 40 80 00 FF 40 80 00 00 60'
266  '80 00 40 60 80 00 80 60 80 00 FF 60 80 00 00 80'
267  '80 00 40 80 80 00 80 80 80 00 FF 80 80 00 00 A0'
268  '80 00 40 A0 80 00 80 A0 80 00 FF A0 80 00 00 C0'
269  '80 00 40 C0 80 00 80 C0 80 00 FF C0 80 00 00 FF'
270  '80 00 40 FF 80 00 80 FF 80 00 FF FF 80 00 00 00'
271  'A0 00 40 00 A0 00 80 00 A0 00 FF 00 A0 00 00 20'
272  'A0 00 40 20 A0 00 80 20 A0 00 FF 20 A0 00 00 40'
273  'A0 00 40 40 A0 00 80 40 A0 00 FF 40 A0 00 00 60'
274  'A0 00 40 60 A0 00 80 60 A0 00 FF 60 A0 00 00 80'
275  'A0 00 40 80 A0 00 80 80 A0 00 FF 80 A0 00 00 A0'
276  'A0 00 40 A0 A0 00 80 A0 A0 00 FF A0 A0 00 00 C0'
277  'A0 00 40 C0 A0 00 80 C0 A0 00 FF C0 A0 00 00 FF'
278  'A0 00 40 FF A0 00 80 FF A0 00 FF FF A0 00 00 00'
279  'C0 00 40 00 C0 00 80 00 C0 00 FF 00 C0 00 00 20'
280  'C0 00 40 20 C0 00 80 20 C0 00 FF 20 C0 00 00 40'
281  'C0 00 40 40 C0 00 80 40 C0 00 FF 40 C0 00 00 60'
282  'C0 00 40 60 C0 00 80 60 C0 00 FF 60 C0 00 00 80'
283  'C0 00 40 80 C0 00 80 80 C0 00 FF 80 C0 00 00 A0'
284  'C0 00 40 A0 C0 00 80 A0 C0 00 FF A0 C0 00 00 C0'
285  'C0 00 40 C0 C0 00 80 C0 C0 00 FF C0 C0 00 00 FF'
286  'C0 00 40 FF C0 00 80 FF C0 00 FF FF C0 00 00 00'
287  'FF 00 40 00 FF 00 80 00 FF 00 FF 00 FF 00 00 20'
288  'FF 00 40 20 FF 00 80 20 FF 00 FF 20 FF 00 00 40'
289  'FF 00 40 40 FF 00 80 40 FF 00 FF 40 FF 00 00 60'
290  'FF 00 40 60 FF 00 80 60 FF 00 FF 60 FF 00 00 80'
291  'FF 00 40 80 FF 00 80 80 FF 00 FF 80 FF 00 00 A0'
292  'FF 00 40 A0 FF 00 80 A0 FF 00 FF A0 FF 00 00 C0'
293  'FF 00 40 C0 FF 00 80 C0 FF 00 FF C0 FF 00 00 FF'
294  'FF 00 40 FF FF 00 80 FF FF 00 FF FF FF 00 FF FF'
295  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
296  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
297  'FF FF FF FF FF FF FF FF FF FF FF FF B6 24 FF FF'
298  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
299  'FF FF FF FF FF FF FF FF FF FF 6D 24 FF FF FF FF'
300  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
301  'FF FF FF FF FF FF FF B6 00 B6 FF FF FF FF FF FF'
302  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
303  'FF FF FF FF FF 92 00 FF FF 24 FF FF FF FF FF FF'
304  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
305  'FF FF FF FF 24 FF FF FF FF 92 FF FF FF FF FF FF'
306  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
307  'FF FF FF FF FF FF FF FF FF FF 24 FF FF FF FF FF'
308  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
309  'FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF FF'
310  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
311  'FF FF FF FF FF FF FF FF FF FF FF 6D FF FF FF FF'
312  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
313  'FF FF FF FF FF FF FF FF FF FF FF B6 FF FF FF FF'
314  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
315  'FF FF FF FF FF FF FF FF FF FF FF FF 6D FF FF FF'
316  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
317  'FF FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF'
318  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
319  'FF FF FF FF FF FF FF FF FF FF FF FF FF 6D FF FF'
320  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
321  'FF FF FF FF FF FF FF FF FF FF FF FF FF 6D FF FF'
322  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
323  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 92 FF'
324  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
325  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 24 FF'
326  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
327  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 92'
328  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
329  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 24'
330  'FF B6 FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
331  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 24'
332  '80 81 60 6C FF FF FF FF FF FF FF FF FF FF FF FF'
333  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 24 81'
334  'C1 81 80 81 20 FF FF FF FF FF FF FF FF FF FF FF'
335  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF C0 C1'
336  '80 80 C1 81 C1 20 FF FF FF FF FF FF FF FF FF FF'
337  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 81 81'
338  '81 80 81 80 80 80 24 FF FF FF FF FF FF FF FF FF'
339  'FF FF FF FF FF FF FF FF FF FF FF FF FF 6D 80 81'
340  '81 80 81 C1 C0 80 80 92 FF FF FF FF FF FF FF FF'
341  'FF FF FF FF FF FF FF FF FF FF FF FF FF B6 FF FF'
342  'FF FF FF 81 C0 80 80 20 FF FF FF FF FF FF FF FF'
343  'FF FF FF FF FF FF FF FF FF FF FF FF FF 92 FF FF'
344  'FF FF FF FF C5 C0 80 81 6D FF FF FF FF FF FF FF'
345  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
346  'FF FF FF FF FF FB 81 81 24 FF FF FF FF FF FF FF'
347  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 92 FF'
348  'FF FF FF FF FF FF FF FF 24 FF FF FF FF FF FF FF'
349  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 6D FF'
350  'FF FF FF FF FF FF FF FF 6D FF FF FF FF FF FF FF'
351  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 92'
352  'FF FF FF FF FF FF FF 24 24 FF FF FF FF FF FF FF'
353  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
354  '92 FF FF FF FF 24 6D FF FF FF FF FF FF FF FF FF'
355  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
356  '92 FF FF 00 92 FF FF FF FF FF FF FF FF FF FF FF'
357  'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
358  'FF 24 B6 FF FF FF FF FF FF FF FF FF FF FF 00 00'
359  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
360  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
361  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
362  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
363  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
364  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
365  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
366  '00 00 00 00 00 00 00 00 00 00 00 00 00 00'