2 * Copyright (C) 1999 D A Pickles
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.
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.
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
23 WCMD_ATTRIB, "Help about ATTRIB\n"
25 "CALL <batchfilename> is used within a batch file to execute commands\n\
26 from another batch file. When the batch file exits, control returns to\n\
27 the file which called it. The CALL command may supply parameters to the\n\
30 Changes to default directory, environment variables etc made within a\n\
31 called procedure are inherited by the caller.\n"
33 WCMD_CD, "Help about CD\n"
34 WCMD_CHDIR, "Help about CHDIR\n"
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"
46 "ECHO <string> displays <string> on the current terminal device.\n\
48 ECHO ON causes all subsequent commands in a batch file to be displayed\n\
49 on the terminal device before they are executed.\n\
51 ECHO OFF reverses the effect of a previous ECHO ON (ECHO is OFF by\n\
52 default). The ECHO OFF command can be prevented from displaying by\n\
53 preceding it with an @ sign.\n"
55 WCMD_ERASE, "Help about ERASE\n"
58 "The FOR command is used to execute a command for each of a set of files.\n\
60 Syntax: FOR %variable IN (set) DO command\n\
62 The requirement to double the % sign when using FOR in a batch file does\n\
66 "The GOTO command transfers execution to another statement within a\n\
69 The label which is the target of a GOTO may be up to 255 characters\n\
70 long but may not include spaces (this is different to other operating\n\
71 systems). If two or more identical labels exist in a batch file the\n\
72 first one will always be executed. Attempting to GOTO a non-existent\n\
73 label terminates the batch file execution.\n\
75 GOTO has no effect when used interactively.\n"
77 WCMD_HELP, "Help about HELP\n"
80 "IF is used to conditionally execute a command.\n\
82 Syntax: IF [NOT] EXIST filename command\n\
83 IF [NOT] string1==string2 command\n\
84 IF [NOT] ERRORLEVEL number command\n\
86 In the second form of the command, string1 and string2 must be in double\n\
87 quotes. The comparison is not case-sensitive.\n"
89 WCMD_LABEL, "LABEL is used to set a disk volume label. \n\
91 Syntax: LABEL [drive:]\n\
92 The command will prompt you for the new volume label for the given drive.\n\
93 You can display the disk volume label with the VOL command.\n"
95 WCMD_MD, "Help about MD\n"
96 WCMD_MKDIR, "Help about MKDIR\n"
98 "MOVE relocates a file or directory to a new point within the file system.\n\
100 If the item being moved is a directory then all the files and subdirectories\n\
101 below the item are moved as well.\n\
103 MOVE fails if the old and new locations are on different DOS drive letters.\n"
106 "PATH displays or changes the wcmd search path.\n\
108 Entering PATH will display the current PATH setting (initially this is\n\
109 the value given in your wine.conf file). To change the setting follow the\n\
110 PATH command with the new value.\n\
112 It is also possible to modify the PATH by using the PATH environment\n\
113 variable, for example:\n\
114 PATH %PATH%;c:\\temp \n"
117 "PAUSE displays a message on the screen 'Press Return key to continue'\n\
118 and waits for the user to press the Return key. It is mainly useful in\n\
119 batch files to allow the user to read the output of a previous command\n\
120 before it scrolls off the screen.\n"
123 "PROMPT sets the command-line prompt.\n\
125 The string following the PROMPT command (and the space immediately after)\n\
126 appears at the beginning of the line when wcmd is waiting for input.\n\
128 The following character strings have the special meaning shown:\n\
130 $$ Dollar sign $_ Linefeed $b Pipe sign (|)\n\
131 $d Current date $e Escape $g > sign\n\
132 $l > sign $n Current drive $p Current path\n\
133 $q Equal sign $t Current time $v wcmd version\n\
135 Note that entering the PROMPT command without a prompt-string resets the\n\
136 prompt to the default, which is the current drive letter followed by a\n\
137 greater-than (>) sign.\n\
139 The prompt can also be changed by altering the PROMPT environment variable,\n\
140 so the command 'SET PROMPT=text' has the same effect as 'PROMPT text'\n"
143 "A command line beginning REM (followed by a space) performs no\n\
144 action, and can therefore be used as a comment in a batch file.\n"
146 WCMD_REN, "Help about REN\n"
147 WCMD_RENAME, "Help about RENAME\n"
148 WCMD_RD, "Help about RD\n"
149 WCMD_RMDIR, "Help about RMDIR\n"
152 "SET displays or changes the wcmd environment variables.\n\
154 SET without parameters shows all of the current environment.\n\
156 To create or modify an environment variable the syntax is:\n\
158 SET <variable>=<value>\n\
160 where <variable> and <value> are character strings. There must be no\n\
161 spaces either side of the equals sign, nor can the variable or value\n\
162 have embedded spaces.\n\
164 Under Wine, the environment of the underlying operating system is\n\
165 included into the Win32 environment, there will generally therefore be\n\
166 many more values than in a native Win32 implementation. Note that it is\n\
167 not possible to affect the operating system environment from within wcmd.\n"
170 "SHIFT is used in a batch file to remove one parameter from the head of\n\
171 the list, so parameter 2 becomes parameter 1 and so on. It has no effect\n\
172 if called from the command line.\n"
174 WCMD_TIME, "Help about TIME\n"
176 WCMD_TITLE, "Sets the window title for the wcmd window, syntax TITLE [string]"
179 "TYPE <filename> copies <filename> to the console device (or elsewhere\n\
180 if redirected). No check is made that the file is readable text.\n"
183 "VERIFY is used to set, clear or test the verify flag. Valid forms are:\n\
185 VERIFY ON Set the flag\n\
186 VERIFY OFF Clear the flag\n\
187 VERIFY Displays ON or OFF as appropriate.\n\
189 The verify flag has no function in Wine.\n"
192 "VER displays the version of wcmd you are running\n"
194 WCMD_VOL, "Help about VOL\n"
197 "EXIT terminates the current command session and returns\n\
198 to the operating system or shell from which you invoked wcmd.\n"
200 1000, "WCMD built-in commands are:\n\
201 ATTRIB\t\tShow or change DOS file attributes\n\
202 CALL\t\tInvoke a batch file from inside another\n\
203 CD (CHDIR)\tChange current default directory\n\
204 CLS\t\tClear the console screen\n\
206 CTTY\t\tChange input/output device\n\
207 DATE\t\tShow or change the system date\n\
208 DEL (ERASE)\tDelete a file or set of files\n\
209 DIR\t\tList the contents of a directory\n\
210 ECHO\t\tCopy text directly to the console output\n\
211 HELP\t\tShow brief help details on a topic\n\
212 MD (MKDIR)\tCreate a subdirectory\n\
213 MOVE\t\tMove a file, set of files or directory tree\n\
214 PATH\t\tSet or show the search path\n\
215 PROMPT\t\tChange the command prompt\n\
216 REN (RENAME)\tRename a file\n\
217 RD (RMDIR)\tDelete a subdirectory\n\
218 SET\t\tSet or show environment variables\n\
219 TIME\t\tSet or show the current system time\n\
220 TITLE\t\tSet the window title for the WCMD session\n\
221 TYPE\t\tType the contents of a text file\n\
222 VER\t\tShow the current version of WCMD\n\
223 VOL\t\tShow the volume label of a disk device\n\
224 EXIT\t\tClose down WCMD\n\n\
225 Enter HELP <command> for further information on any of the above commands\n"
227 LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
232 '00 00 01 00 01 00 20 20 00 01 00 00 00 00 A8 08'
233 '00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
234 '00 00 01 00 08 00 00 00 00 00 80 04 00 00 00 00'
235 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
236 '00 00 40 00 00 00 80 00 00 00 FF 00 00 00 00 20'
237 '00 00 40 20 00 00 80 20 00 00 FF 20 00 00 00 40'
238 '00 00 40 40 00 00 80 40 00 00 FF 40 00 00 00 60'
239 '00 00 40 60 00 00 80 60 00 00 FF 60 00 00 00 80'
240 '00 00 40 80 00 00 80 80 00 00 FF 80 00 00 00 A0'
241 '00 00 40 A0 00 00 80 A0 00 00 FF A0 00 00 00 C0'
242 '00 00 40 C0 00 00 80 C0 00 00 FF C0 00 00 00 FF'
243 '00 00 40 FF 00 00 80 FF 00 00 FF FF 00 00 00 00'
244 '20 00 40 00 20 00 80 00 20 00 FF 00 20 00 00 20'
245 '20 00 40 20 20 00 80 20 20 00 FF 20 20 00 00 40'
246 '20 00 40 40 20 00 80 40 20 00 FF 40 20 00 00 60'
247 '20 00 40 60 20 00 80 60 20 00 FF 60 20 00 00 80'
248 '20 00 40 80 20 00 80 80 20 00 FF 80 20 00 00 A0'
249 '20 00 40 A0 20 00 80 A0 20 00 FF A0 20 00 00 C0'
250 '20 00 40 C0 20 00 80 C0 20 00 FF C0 20 00 00 FF'
251 '20 00 40 FF 20 00 80 FF 20 00 FF FF 20 00 00 00'
252 '40 00 40 00 40 00 80 00 40 00 FF 00 40 00 00 20'
253 '40 00 40 20 40 00 80 20 40 00 FF 20 40 00 00 40'
254 '40 00 40 40 40 00 80 40 40 00 FF 40 40 00 00 60'
255 '40 00 40 60 40 00 80 60 40 00 FF 60 40 00 00 80'
256 '40 00 40 80 40 00 80 80 40 00 FF 80 40 00 00 A0'
257 '40 00 40 A0 40 00 80 A0 40 00 FF A0 40 00 00 C0'
258 '40 00 40 C0 40 00 80 C0 40 00 FF C0 40 00 00 FF'
259 '40 00 40 FF 40 00 80 FF 40 00 FF FF 40 00 00 00'
260 '60 00 40 00 60 00 80 00 60 00 FF 00 60 00 00 20'
261 '60 00 40 20 60 00 80 20 60 00 FF 20 60 00 00 40'
262 '60 00 40 40 60 00 80 40 60 00 FF 40 60 00 00 60'
263 '60 00 40 60 60 00 80 60 60 00 FF 60 60 00 00 80'
264 '60 00 40 80 60 00 80 80 60 00 FF 80 60 00 00 A0'
265 '60 00 40 A0 60 00 80 A0 60 00 FF A0 60 00 00 C0'
266 '60 00 40 C0 60 00 80 C0 60 00 FF C0 60 00 00 FF'
267 '60 00 40 FF 60 00 80 FF 60 00 FF FF 60 00 00 00'
268 '80 00 40 00 80 00 80 00 80 00 FF 00 80 00 00 20'
269 '80 00 40 20 80 00 80 20 80 00 FF 20 80 00 00 40'
270 '80 00 40 40 80 00 80 40 80 00 FF 40 80 00 00 60'
271 '80 00 40 60 80 00 80 60 80 00 FF 60 80 00 00 80'
272 '80 00 40 80 80 00 80 80 80 00 FF 80 80 00 00 A0'
273 '80 00 40 A0 80 00 80 A0 80 00 FF A0 80 00 00 C0'
274 '80 00 40 C0 80 00 80 C0 80 00 FF C0 80 00 00 FF'
275 '80 00 40 FF 80 00 80 FF 80 00 FF FF 80 00 00 00'
276 'A0 00 40 00 A0 00 80 00 A0 00 FF 00 A0 00 00 20'
277 'A0 00 40 20 A0 00 80 20 A0 00 FF 20 A0 00 00 40'
278 'A0 00 40 40 A0 00 80 40 A0 00 FF 40 A0 00 00 60'
279 'A0 00 40 60 A0 00 80 60 A0 00 FF 60 A0 00 00 80'
280 'A0 00 40 80 A0 00 80 80 A0 00 FF 80 A0 00 00 A0'
281 'A0 00 40 A0 A0 00 80 A0 A0 00 FF A0 A0 00 00 C0'
282 'A0 00 40 C0 A0 00 80 C0 A0 00 FF C0 A0 00 00 FF'
283 'A0 00 40 FF A0 00 80 FF A0 00 FF FF A0 00 00 00'
284 'C0 00 40 00 C0 00 80 00 C0 00 FF 00 C0 00 00 20'
285 'C0 00 40 20 C0 00 80 20 C0 00 FF 20 C0 00 00 40'
286 'C0 00 40 40 C0 00 80 40 C0 00 FF 40 C0 00 00 60'
287 'C0 00 40 60 C0 00 80 60 C0 00 FF 60 C0 00 00 80'
288 'C0 00 40 80 C0 00 80 80 C0 00 FF 80 C0 00 00 A0'
289 'C0 00 40 A0 C0 00 80 A0 C0 00 FF A0 C0 00 00 C0'
290 'C0 00 40 C0 C0 00 80 C0 C0 00 FF C0 C0 00 00 FF'
291 'C0 00 40 FF C0 00 80 FF C0 00 FF FF C0 00 00 00'
292 'FF 00 40 00 FF 00 80 00 FF 00 FF 00 FF 00 00 20'
293 'FF 00 40 20 FF 00 80 20 FF 00 FF 20 FF 00 00 40'
294 'FF 00 40 40 FF 00 80 40 FF 00 FF 40 FF 00 00 60'
295 'FF 00 40 60 FF 00 80 60 FF 00 FF 60 FF 00 00 80'
296 'FF 00 40 80 FF 00 80 80 FF 00 FF 80 FF 00 00 A0'
297 'FF 00 40 A0 FF 00 80 A0 FF 00 FF A0 FF 00 00 C0'
298 'FF 00 40 C0 FF 00 80 C0 FF 00 FF C0 FF 00 00 FF'
299 'FF 00 40 FF FF 00 80 FF FF 00 FF FF FF 00 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 FF FF FF FF FF FF FF FF FF'
302 'FF FF FF FF FF FF FF FF FF FF FF FF B6 24 FF FF'
303 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
304 'FF FF FF FF FF FF FF FF FF FF 6D 24 FF FF FF FF'
305 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
306 'FF FF FF FF FF FF FF B6 00 B6 FF FF FF FF FF FF'
307 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
308 'FF FF FF FF FF 92 00 FF FF 24 FF FF FF FF FF FF'
309 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
310 'FF FF FF FF 24 FF FF FF FF 92 FF FF FF FF FF FF'
311 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
312 'FF FF FF FF FF FF FF FF FF FF 24 FF FF FF FF FF'
313 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
314 'FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF FF'
315 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
316 'FF FF FF FF FF FF FF FF FF FF FF 6D FF FF FF FF'
317 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
318 'FF FF FF FF FF FF FF FF FF FF FF B6 FF FF FF FF'
319 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
320 'FF FF FF FF FF FF FF FF FF FF FF FF 6D FF FF FF'
321 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
322 'FF FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF'
323 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
324 'FF FF FF FF FF FF FF FF FF FF FF FF FF 6D FF FF'
325 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
326 'FF FF FF FF FF FF FF FF FF FF FF FF FF 6D FF FF'
327 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
328 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 92 FF'
329 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
330 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 24 FF'
331 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
332 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 92'
333 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
334 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 24'
335 'FF B6 FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
336 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 24'
337 '80 81 60 6C FF FF FF FF FF FF FF FF FF FF FF FF'
338 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 24 81'
339 'C1 81 80 81 20 FF FF FF FF FF FF FF FF FF FF FF'
340 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF C0 C1'
341 '80 80 C1 81 C1 20 FF FF FF FF FF FF FF FF FF FF'
342 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 81 81'
343 '81 80 81 80 80 80 24 FF FF FF FF FF FF FF FF FF'
344 'FF FF FF FF FF FF FF FF FF FF FF FF FF 6D 80 81'
345 '81 80 81 C1 C0 80 80 92 FF FF FF FF FF FF FF FF'
346 'FF FF FF FF FF FF FF FF FF FF FF FF FF B6 FF FF'
347 'FF FF FF 81 C0 80 80 20 FF FF FF FF FF FF FF FF'
348 'FF FF FF FF FF FF FF FF FF FF FF FF FF 92 FF FF'
349 'FF FF FF FF C5 C0 80 81 6D FF FF FF FF FF FF FF'
350 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
351 'FF FF FF FF FF FB 81 81 24 FF FF FF FF FF FF FF'
352 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 92 FF'
353 'FF FF FF FF FF FF FF FF 24 FF FF FF FF FF FF FF'
354 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF 6D FF'
355 'FF FF FF FF FF FF FF FF 6D FF FF FF FF FF FF FF'
356 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 92'
357 'FF FF FF FF FF FF FF 24 24 FF FF FF FF FF FF FF'
358 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
359 '92 FF FF FF FF 24 6D FF FF FF FF FF FF FF FF FF'
360 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
361 '92 FF FF 00 92 FF FF FF FF FF FF FF FF FF FF FF'
362 'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
363 'FF 24 B6 FF FF FF FF FF FF FF FF FF FF FF 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 00 00'
367 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
368 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
369 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
370 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
371 '00 00 00 00 00 00 00 00 00 00 00 00 00 00'