Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2171 lines
69 KiB

  1. ;/*++ BUILD Version: 0e001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (c) 1991 Microsoft Corporation
  4. ;
  5. ;Module Name:
  6. ;
  7. ; cmdmsg.h
  8. ;
  9. ;Abstract:
  10. ;
  11. ; This file contains the message definitions for the Win32 CMD.EXE
  12. ; program.
  13. ;
  14. ;Author:
  15. ;
  16. ; Steve Wood (stevewo) 25-Jan-1991
  17. ;
  18. ;Revision History:
  19. ;
  20. ;Notes:
  21. ;
  22. ; This file is generated by the MC tool from the winerror.msg file.
  23. ;
  24. ;--*/
  25. ;
  26. ;#ifndef _CMDMSG_
  27. ;#define _CMDMSG_
  28. ;
  29. ;
  30. ;#define MSG_FIRST_CMD_MSG_ID MSG_NOYES_RESPONSE_DATA
  31. MessageId=9000 SymbolicName=MSG_NOYES_RESPONSE_DATA
  32. Language=English
  33. NY%0
  34. .
  35. MessageId=9001 SymbolicName=MSG_BAD_PARM1
  36. Language=English
  37. An incorrect parameter was
  38. entered for the command.
  39. .
  40. MessageId=9002 SymbolicName=MSG_BAD_SYNTAX
  41. Language=English
  42. The syntax of the command is incorrect.
  43. .
  44. MessageId=9003 SymbolicName=MSG_STRIKE_ANY_KEY
  45. Language=English
  46. Press any key to continue . . . %0
  47. .
  48. MessageId=9004 SymbolicName=MSG_CMD_DELETE
  49. Language=English
  50. %1, Delete (Y/N)? %0
  51. .
  52. MessageId=9006 SymbolicName=MSG_REN_INVAL_PATH_FILENAME
  53. Language=English
  54. The system cannot accept the path
  55. or file name requested.
  56. .
  57. MessageId=9007 SymbolicName=MSG_INVALID_DATE
  58. Language=English
  59. The system cannot accept the date entered.
  60. .
  61. MessageId=9008 SymbolicName=MSG_NO_BAT_LABEL
  62. Language=English
  63. No batch label specified to GOTO command.
  64. .
  65. MessageId=9009 SymbolicName=MSG_DIR_BAD_COMMAND_OR_FILE
  66. Language=English
  67. '%1' is not recognized as an internal or external command,
  68. operable program or batch file.
  69. .
  70. MessageId=9010 SymbolicName=MSG_REN_INVALID_TIME
  71. Language=English
  72. The system cannot accept the time entered.
  73. .
  74. MessageId=9012 SymbolicName=MSG_COPYRIGHT
  75. Language=English
  76. (C) Copyright 1985-2003 Microsoft Corp.
  77. .
  78. MessageId=9013 SymbolicName=MSG_C
  79. Language=English
  80. ^C
  81. .
  82. MessageId=9014 SymbolicName=MSG_FILES_COPIED
  83. Language=English
  84. %1 file(s) copied.
  85. .
  86. MessageId=9015 SymbolicName=MSG_CURRENT_DATE
  87. Language=English
  88. The current date is: %0
  89. .
  90. MessageId=9016 SymbolicName=MSG_CURRENT_TIME
  91. Language=English
  92. The current time is: %0
  93. .
  94. MessageId=9017 SymbolicName=MSG_DIR_OF
  95. Language=English
  96. Directory of %1
  97. .
  98. MessageId=9018 SymbolicName=MSG_OUT_OF_ENVIRON_SPACE
  99. Language=English
  100. The system is out of environment space.
  101. .
  102. MessageId=9020 SymbolicName=MSG_EXEC_FAILURE
  103. Language=English
  104. The system cannot execute the specified program.
  105. .
  106. MessageId=9023 SymbolicName=MSG_LINES_TOO_LONG
  107. Language=English
  108. The input line is too long.
  109. .
  110. MessageId=9024 SymbolicName=MSG_CONT_LOST_BEF_COPY
  111. Language=English
  112. The contents of the target file
  113. were lost.
  114. .
  115. MessageId=9025 SymbolicName=MSG_INSRT_DISK_BAT
  116. Language=English
  117. Insert the diskette that contains the batch file
  118. and press any key when ready. %0
  119. .
  120. MessageId=9026 SymbolicName=MSG_ENTER_NEW_DATE
  121. Language=English
  122. Enter the new date: (mm-dd-yy) %0
  123. .
  124. MessageId=9027 SymbolicName=MSG_ENTER_NEW_TIME
  125. Language=English
  126. Enter the new time: %0
  127. .
  128. MessageId=9028 SymbolicName=MSG_RDR_HNDL_CREATE
  129. Language=English
  130. The handle could not be duplicated
  131. during redirection of handle %1.
  132. .
  133. MessageId=9029 SymbolicName=MSG_ECHO_OFF
  134. Language=English
  135. ECHO is off.
  136. .
  137. MessageId=9030 SymbolicName=MSG_ECHO_ON
  138. Language=English
  139. ECHO is on.
  140. .
  141. MessageId=9031 SymbolicName=MSG_VERIFY_OFF
  142. Language=English
  143. VERIFY is off.
  144. .
  145. MessageId=9032 SymbolicName=MSG_VERIFY_ON
  146. Language=English
  147. VERIFY is on.
  148. .
  149. MessageId=9033 SymbolicName=MSG_CANNOT_COPIED_ONTO_SELF
  150. Language=English
  151. The file cannot be copied onto itself.
  152. .
  153. MessageId=9034 SymbolicName=MSG_SYNERR_GENL
  154. Language=English
  155. %1 was unexpected at this time.
  156. .
  157. MessageId=9036 SymbolicName=MSG_PID_IS
  158. Language=English
  159. The Process Identification Number is %1.
  160. .
  161. MessageId=9037 SymbolicName=MSG_DUP_FILENAME_OR_NOT_FD
  162. Language=English
  163. A duplicate file name exists, or the file
  164. cannot be found.
  165. .
  166. MessageId=9038 SymbolicName=MSG_ARE_YOU_SURE
  167. Language=English
  168. %1, Are you sure (Y/N)? %0
  169. .
  170. MessageId=9039 SymbolicName=MSG_TOKEN_TOO_LONG
  171. Language=English
  172. The following character string is too long:
  173. %1
  174. .
  175. MessageId=9040 SymbolicName=MSG_MS_DOS_VERSION
  176. Language=English
  177. Microsoft Windows [Version %1]%0
  178. .
  179. MessageId=9041 SymbolicName=MSG_PIPE_FAILURE
  180. Language=English
  181. The handle could not be duplicated during
  182. a pipe operation.
  183. .
  184. MessageId=9042 SymbolicName=MSG_MS_MORE
  185. Language=English
  186. More? %0
  187. .
  188. MessageId=9043 SymbolicName=MSG_REAL_MODE_ONLY
  189. Language=English
  190. The system cannot complete the process.
  191. .
  192. MessageId=9044 SymbolicName=MSG_TYPE_FILENAME
  193. Language=English
  194. %1
  195. .
  196. MessageId=9051 SymbolicName=MSG_DR_VOL_SERIAL
  197. Language=English
  198. Volume Serial Number is %1
  199. .
  200. MessageId=9052 SymbolicName=MSG_DIR_EXISTS
  201. Language=English
  202. A subdirectory or file %1 already exists.
  203. .
  204. MessageId=9053 SymbolicName=MSG_ERR_PROC_ARG
  205. Language=English
  206. Error occurred while processing: %1.
  207. .
  208. MessageId=9054 SymbolicName=MSG_HAS_NO_LABEL
  209. Language=English
  210. Volume in drive %1 has no label.
  211. .
  212. MessageId=9055 SymbolicName=MSG_DR_VOL_LABEL
  213. Language=English
  214. Volume in drive %1 is %2
  215. .
  216. MessageId=9056 SymbolicName=MSG_KEYS_ON
  217. Language=English
  218. KEYS is on.
  219. .
  220. MessageId=9057 SymbolicName=MSG_KEYS_OFF
  221. Language=English
  222. KEYS is off.
  223. .
  224. MessageId=9058 SymbolicName=MSG_START_INVALID_PARAMETER
  225. Language=English
  226. The system cannot accept the START command parameter %1.
  227. .
  228. MessageId=9059 SymbolicName=MSG_CMD_FILE_NOT_FOUND
  229. Language=English
  230. The system cannot find the file %1.
  231. .
  232. MessageId=9060 SymbolicName=MSG_CMD_INVAL_PIPE
  233. Language=English
  234. The process tried to write to a nonexistent pipe.
  235. .
  236. MessageId=9067 SymbolicName=MSG_CMD_NOT_RECOGNIZED
  237. Language=English
  238. "%1" is not a recognized device.
  239. .
  240. MessageId=9068 SymbolicName=MSG_CMD_BATCH_FILE_MISSING
  241. Language=English
  242. The batch file cannot be found.
  243. .
  244. MessageId=9069 SymbolicName=MSG_DIRS_MOVED
  245. Language=English
  246. %1 dir(s) moved.
  247. .
  248. MessageId=9070 SymbolicName=MSG_FILES_MOVED
  249. Language=English
  250. %1 file(s) moved.
  251. .
  252. MessageId=9071 SymbolicName=MSG_TRAPC
  253. Language=English
  254. A program attempted to reference storage outside the
  255. limits of a stack segment. The program was ended.
  256. %1
  257. .
  258. MessageId=9073 SymbolicName=MSG_LITERAL_TEXT
  259. Language=English
  260. %1%0
  261. .
  262. MessageId=9074 SymbolicName=MSG_NOT_IMPLEMENTED
  263. Language=English
  264. Command not implemented.
  265. .
  266. MessageId=9075 SymbolicName=MSG_DIR
  267. Language=English
  268. <DIR> %0
  269. .
  270. MessageId=9076 SymbolicName=MSG_NO_MEMORY
  271. Language=English
  272. Out of memory.
  273. .
  274. MessageId=9077 SymbolicName=MSG_INVALID_SWITCH
  275. Language=English
  276. Invalid switch - "%1".
  277. .
  278. MessageId=9078 SymbolicName=MSG_PARAMETER_FORMAT_NOT_CORRECT
  279. Language=English
  280. Parameter format not correct - "%1".
  281. .
  282. MessageId=9079 SymbolicName=MSG_ERROR_IN_DIRCMD
  283. Language=English
  284. (Error occurred in environment variable)
  285. .
  286. MessageId=9080 SymbolicName=MSG_FILES_COUNT_FREE
  287. Language=English
  288. %1 File(s) %2 bytes
  289. .
  290. MessageId=9081 SymbolicName=MSG_FILES_TOTAL_FREE
  291. Language=English
  292. %1 Dir(s) %2 bytes free
  293. .
  294. MessageId=9082 SymbolicName=MSG_FILE_TOTAL
  295. Language=English
  296. Total Files Listed:
  297. .
  298. MessageId=9083 SymbolicName=MSG_BATCH_TERM
  299. Language=English
  300. Terminate batch job (Y/N)? %0
  301. .
  302. MessageId=9084 SymbolicName=MSG_BAD_CURDIR
  303. Language=English
  304. The current directory is invalid.
  305. .
  306. MessageId=9085 SymbolicName=MSG_HELP_CHDIR
  307. Language=English
  308. Displays the name of or changes the current directory.
  309. CHDIR [/D] [drive:][path]
  310. CHDIR [..]
  311. CD [/D] [drive:][path]
  312. CD [..]
  313. .. Specifies that you want to change to the parent directory.
  314. Type CD drive: to display the current directory in the specified drive.
  315. Type CD without parameters to display the current drive and directory.
  316. Use the /D switch to change current drive in addition to changing current
  317. directory for a drive.
  318. .
  319. MessageId=9086 SymbolicName=MSG_HELP_CLS
  320. Language=English
  321. Clears the screen.
  322. CLS
  323. .
  324. MessageId=9087 SymbolicName=MSG_HELP_COPY
  325. Language=English
  326. Copies one or more files to another location.
  327. COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
  328. [+ source [/A | /B] [+ ...]] [destination [/A | /B]]
  329. source Specifies the file or files to be copied.
  330. /A Indicates an ASCII text file.
  331. /B Indicates a binary file.
  332. /D Allow the destination file to be created decrypted
  333. destination Specifies the directory and/or filename for the new file(s).
  334. /V Verifies that new files are written correctly.
  335. /N Uses short filename, if available, when copying a file with a
  336. non-8dot3 name.
  337. /Y Suppresses prompting to confirm you want to overwrite an
  338. existing destination file.
  339. /-Y Causes prompting to confirm you want to overwrite an
  340. existing destination file.
  341. /Z Copies networked files in restartable mode.
  342. The switch /Y may be preset in the COPYCMD environment variable.
  343. This may be overridden with /-Y on the command line. Default is
  344. to prompt on overwrites unless COPY command is being executed from
  345. within a batch script.
  346. To append files, specify a single file for destination, but multiple files
  347. for source (using wildcards or file1+file2+file3 format).
  348. .
  349. MessageId=9088 SymbolicName=MSG_HELP_DATE
  350. Language=English
  351. Displays or sets the date.
  352. DATE [/T | date]
  353. Type DATE without parameters to display the current date setting and
  354. a prompt for a new one. Press ENTER to keep the same date.
  355. .
  356. MessageId=9089 SymbolicName=MSG_HELP_DEL_ERASE
  357. Language=English
  358. Deletes one or more files.
  359. DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
  360. ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
  361. names Specifies a list of one or more files or directories.
  362. Wildcards may be used to delete multiple files. If a
  363. directory is specified, all files within the directory
  364. will be deleted.
  365. /P Prompts for confirmation before deleting each file.
  366. /F Force deleting of read-only files.
  367. /S Delete specified files from all subdirectories.
  368. /Q Quiet mode, do not ask if ok to delete on global wildcard
  369. /A Selects files to delete based on attributes
  370. attributes R Read-only files S System files
  371. H Hidden files A Files ready for archiving
  372. - Prefix meaning not
  373. .
  374. MessageId=9090 SymbolicName=MSG_HELP_DIR
  375. Language=English
  376. Displays a list of files and subdirectories in a directory.
  377. DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N]
  378. [/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4]
  379. [drive:][path][filename]
  380. Specifies drive, directory, and/or files to list.
  381. /A Displays files with specified attributes.
  382. attributes D Directories R Read-only files
  383. H Hidden files A Files ready for archiving
  384. S System files - Prefix meaning not
  385. /B Uses bare format (no heading information or summary).
  386. /C Display the thousand separator in file sizes. This is the
  387. default. Use /-C to disable display of separator.
  388. /D Same as wide but files are list sorted by column.
  389. /L Uses lowercase.
  390. /N New long list format where filenames are on the far right.
  391. /O List by files in sorted order.
  392. sortorder N By name (alphabetic) S By size (smallest first)
  393. E By extension (alphabetic) D By date/time (oldest first)
  394. G Group directories first - Prefix to reverse order
  395. /P Pauses after each screenful of information.
  396. /Q Display the owner of the file.
  397. /S Displays files in specified directory and all subdirectories.
  398. /T Controls which time field displayed or used for sorting
  399. timefield C Creation
  400. A Last Access
  401. W Last Written
  402. /W Uses wide list format.
  403. /X This displays the short names generated for non-8dot3 file
  404. names. The format is that of /N with the short name inserted
  405. before the long name. If no short name is present, blanks are
  406. displayed in its place.
  407. /4 Displays four-digit years
  408. Switches may be preset in the DIRCMD environment variable. Override
  409. preset switches by prefixing any switch with - (hyphen)--for example, /-W.
  410. .
  411. MessageId=9091 SymbolicName=MSG_HELP_EXIT
  412. Language=English
  413. Quits the CMD.EXE program (command interpreter) or the current batch
  414. script.
  415. EXIT [/B] [exitCode]
  416. /B specifies to exit the current batch script instead of
  417. CMD.EXE. If executed from outside a batch script, it
  418. will quit CMD.EXE
  419. exitCode specifies a numeric number. if /B is specified, sets
  420. ERRORLEVEL that number. If quitting CMD.EXE, sets the process
  421. exit code with that number.
  422. .
  423. MessageId=9092 SymbolicName=MSG_HELP_MKDIR
  424. Language=English
  425. Creates a directory.
  426. MKDIR [drive:]path
  427. MD [drive:]path
  428. .
  429. MessageId=9093 SymbolicName=MSG_HELP_PATH
  430. Language=English
  431. Displays or sets a search path for executable files.
  432. PATH [[drive:]path[;...][;%%PATH%%]
  433. PATH ;
  434. Type PATH ; to clear all search-path settings and direct cmd.exe to search
  435. only in the current directory.
  436. Type PATH without parameters to display the current path.
  437. Including %%PATH%% in the new path setting causes the old path to be
  438. appended to the new setting.
  439. .
  440. MessageId=9094 SymbolicName=MSG_HELP_PROMPT
  441. Language=English
  442. Changes the cmd.exe command prompt.
  443. PROMPT [text]
  444. text Specifies a new command prompt.
  445. Prompt can be made up of normal characters and the following special codes:
  446. $A & (Ampersand)
  447. $B | (pipe)
  448. $C ( (Left parenthesis)
  449. $D Current date
  450. $E Escape code (ASCII code 27)
  451. $F ) (Right parenthesis)
  452. $G > (greater-than sign)
  453. $H Backspace (erases previous character)
  454. $L < (less-than sign)
  455. $N Current drive
  456. $P Current drive and path
  457. $Q = (equal sign)
  458. $S (space)
  459. $T Current time
  460. $V Windows version number
  461. $_ Carriage return and linefeed
  462. $$ $ (dollar sign)
  463. .
  464. MessageId=9095 SymbolicName=MSG_HELP_RMDIR
  465. Language=English
  466. Removes (deletes) a directory.
  467. RMDIR [/S] [/Q] [drive:]path
  468. RD [/S] [/Q] [drive:]path
  469. /S Removes all directories and files in the specified directory
  470. in addition to the directory itself. Used to remove a directory
  471. tree.
  472. /Q Quiet mode, do not ask if ok to remove a directory tree with /S
  473. .
  474. MessageId=9096 SymbolicName=MSG_HELP_RENAME
  475. Language=English
  476. Renames a file or files.
  477. RENAME [drive:][path]filename1 filename2.
  478. REN [drive:][path]filename1 filename2.
  479. Note that you cannot specify a new drive or path for your destination file.
  480. .
  481. MessageId=9097 SymbolicName=MSG_HELP_SET
  482. Language=English
  483. Displays, sets, or removes cmd.exe environment variables.
  484. SET [variable=[string]]
  485. variable Specifies the environment-variable name.
  486. string Specifies a series of characters to assign to the variable.
  487. Type SET without parameters to display the current environment variables.
  488. .
  489. MessageId=9098 SymbolicName=MSG_HELP_TIME
  490. Language=English
  491. Displays or sets the system time.
  492. TIME [/T | time]
  493. Type TIME with no parameters to display the current time setting and a prompt
  494. for a new one. Press ENTER to keep the same time.
  495. .
  496. MessageId=9099 SymbolicName=MSG_HELP_TYPE
  497. Language=English
  498. Displays the contents of a text file or files.
  499. TYPE [drive:][path]filename
  500. .
  501. MessageId=9100 SymbolicName=MSG_HELP_VER
  502. Language=English
  503. Displays the Windows version.
  504. VER
  505. .
  506. MessageId=9101 SymbolicName=MSG_HELP_VERIFY
  507. Language=English
  508. Tells cmd.exe whether to verify that your files are written correctly to a
  509. disk.
  510. VERIFY [ON | OFF]
  511. Type VERIFY without a parameter to display the current VERIFY setting.
  512. .
  513. MessageId=9102 SymbolicName=MSG_HELP_VOL
  514. Language=English
  515. Displays the disk volume label and serial number, if they exist.
  516. VOL [drive:]
  517. .
  518. MessageId=9103 SymbolicName=MSG_HELP_CALL
  519. Language=English
  520. Calls one batch program from another.
  521. CALL [drive:][path]filename [batch-parameters]
  522. batch-parameters Specifies any command-line information required by the
  523. batch program.
  524. .
  525. MessageId=9104 SymbolicName=MSG_HELP_REM
  526. Language=English
  527. Records comments (remarks) in a batch file or CONFIG.SYS.
  528. REM [comment]
  529. .
  530. MessageId=9105 SymbolicName=MSG_HELP_PAUSE
  531. Language=English
  532. Suspends processing of a batch program and displays the message
  533. Press any key to continue . . . %0
  534. PAUSE
  535. .
  536. MessageId=9106 SymbolicName=MSG_HELP_ECHO
  537. Language=English
  538. Displays messages, or turns command-echoing on or off.
  539. ECHO [ON | OFF]
  540. ECHO [message]
  541. Type ECHO without parameters to display the current echo setting.
  542. .
  543. MessageId=9107 SymbolicName=MSG_HELP_GOTO
  544. Language=English
  545. Directs cmd.exe to a labeled line in a batch program.
  546. GOTO label
  547. label Specifies a text string used in the batch program as a label.
  548. You type a label on a line by itself, beginning with a colon.
  549. .
  550. MessageId=9108 SymbolicName=MSG_HELP_SHIFT
  551. Language=English
  552. Changes the position of replaceable parameters in a batch file.
  553. SHIFT [/n]
  554. .
  555. MessageId=9109 SymbolicName=MSG_HELP_IF
  556. Language=English
  557. Performs conditional processing in batch programs.
  558. IF [NOT] ERRORLEVEL number command
  559. IF [NOT] string1==string2 command
  560. IF [NOT] EXIST filename command
  561. NOT Specifies that Windows should carry out
  562. the command only if the condition is false.
  563. ERRORLEVEL number Specifies a true condition if the last program run
  564. returned an exit code equal to or greater than the number
  565. specified.
  566. string1==string2 Specifies a true condition if the specified text strings
  567. match.
  568. EXIST filename Specifies a true condition if the specified filename
  569. exists.
  570. command Specifies the command to carry out if the condition is
  571. met. Command can be followed by ELSE command which
  572. will execute the command after the ELSE keyword if the
  573. specified condition is FALSE
  574. The ELSE clause must occur on the same line as the command after the IF. For
  575. example:
  576. IF EXIST filename. (
  577. del filename.
  578. ) ELSE (
  579. echo filename. missing.
  580. )
  581. The following would NOT work because the del command needs to be terminated
  582. by a newline:
  583. IF EXIST filename. del filename. ELSE echo filename. missing
  584. Nor would the following work, since the ELSE command must be on the same line
  585. as the end of the IF command:
  586. IF EXIST filename. del filename.
  587. ELSE echo filename. missing
  588. The following would work if you want it all on one line:
  589. IF EXIST filename. (del filename.) ELSE echo filename. missing
  590. .
  591. MessageId=9110 SymbolicName=MSG_HELP_FOR
  592. Language=English
  593. Runs a specified command for each file in a set of files.
  594. FOR %%variable IN (set) DO command [command-parameters]
  595. %%variable Specifies a single letter replaceable parameter.
  596. (set) Specifies a set of one or more files. Wildcards may be used.
  597. command Specifies the command to carry out for each file.
  598. command-parameters
  599. Specifies parameters or switches for the specified command.
  600. To use the FOR command in a batch program, specify %%%%variable instead
  601. of %%variable. Variable names are case sensitive, so %%i is different
  602. from %%I.
  603. .
  604. MessageId=9111 SymbolicName=MSG_HELP_START
  605. Language=English
  606. Starts a separate window to run a specified program or command.
  607. START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
  608. [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
  609. [/WAIT] [/B] [command/program]
  610. [parameters]
  611. "title" Title to display in window title bar.
  612. path Starting directory
  613. B Start application without creating a new window. The
  614. application has ^C handling ignored. Unless the application
  615. enables ^C processing, ^Break is the only way to interrupt
  616. the application
  617. I The new environment will be the original environment passed
  618. to the cmd.exe and not the current environment.
  619. MIN Start window minimized
  620. MAX Start window maximized
  621. SEPARATE Start 16-bit Windows program in separate memory space
  622. SHARED Start 16-bit Windows program in shared memory space
  623. LOW Start application in the IDLE priority class
  624. NORMAL Start application in the NORMAL priority class
  625. HIGH Start application in the HIGH priority class
  626. REALTIME Start application in the REALTIME priority class
  627. ABOVENORMAL Start application in the ABOVENORMAL priority class
  628. BELOWNORMAL Start application in the BELOWNORMAL priority class
  629. WAIT Start application and wait for it to terminate
  630. command/program
  631. If it is an internal cmd command or a batch file then
  632. the command processor is run with the /K switch to cmd.exe.
  633. This means that the window will remain after the command
  634. has been run.
  635. If it is not an internal cmd command or batch file then
  636. it is a program and will run as either a windowed application
  637. or a console application.
  638. parameters These are the parameters passed to the command/program
  639. .
  640. MessageId=9112 SymbolicName=MSG_HELP_BREAK
  641. Language=English
  642. Sets or Clears Extended CTRL+C checking on DOS system
  643. This is present for Compatibility with DOS systems. It has no effect
  644. under Windows.
  645. .
  646. MessageId=9113 SymbolicName=MSG_HELP_CMD
  647. Language=English
  648. Starts a new instance of the Windows command interpreter
  649. CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
  650. [[/S] [/C | /K] string]
  651. /C Carries out the command specified by string and then terminates
  652. /K Carries out the command specified by string but remains
  653. /S Modifies the treatment of string after /C or /K (see below)
  654. /Q Turns echo off
  655. /D Disable execution of AutoRun commands from registry (see below)
  656. /A Causes the output of internal commands to a pipe or file to be ANSI
  657. /U Causes the output of internal commands to a pipe or file to be
  658. Unicode
  659. /T:fg Sets the foreground/background colors (see COLOR /? for more info)
  660. /E:ON Enable command extensions (see below)
  661. /E:OFF Disable command extensions (see below)
  662. /F:ON Enable file and directory name completion characters (see below)
  663. /F:OFF Disable file and directory name completion characters (see below)
  664. /V:ON Enable delayed environment variable expansion using ! as the
  665. delimiter. For example, /V:ON would allow !var! to expand the
  666. variable var at execution time. The %var% syntax expands variables
  667. at input time, which is quite a different thing when inside of a FOR
  668. loop.
  669. /V:OFF Disable delayed environment expansion.
  670. Note that multiple commands separated by the command separator '&&'
  671. are accepted for string if surrounded by quotes. Also, for compatibility
  672. reasons, /X is the same as /E:ON, /Y is the same as /E:OFF and /R is the
  673. same as /C. Any other switches are ignored.
  674. If /C or /K is specified, then the remainder of the command line after
  675. the switch is processed as a command line, where the following logic is
  676. used to process quote (") characters:
  677. 1. If all of the following conditions are met, then quote characters
  678. on the command line are preserved:
  679. - no /S switch
  680. - exactly two quote characters
  681. - no special characters between the two quote characters,
  682. where special is one of: &<>()@^|
  683. - there are one or more whitespace characters between the
  684. the two quote characters
  685. - the string between the two quote characters is the name
  686. of an executable file.
  687. 2. Otherwise, old behavior is to see if the first character is
  688. a quote character and if so, strip the leading character and
  689. remove the last quote character on the command line, preserving
  690. any text after the last quote character.
  691. .
  692. MessageId= SymbolicName=MSG_HELP_CMD1
  693. Language=English
  694. If /D was NOT specified on the command line, then when CMD.EXE starts, it
  695. looks for the following REG_SZ/REG_EXPAND_SZ registry variables, and if
  696. either or both are present, they are executed first.
  697. HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
  698. and/or
  699. HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
  700. .
  701. MessageId= SymbolicName=MSG_HELP_CMD_EXTENSIONS
  702. Language=English
  703. Command Extensions are enabled by default. You may also disable
  704. extensions for a particular invocation by using the /E:OFF switch. You
  705. can enable or disable extensions for all invocations of CMD.EXE on a
  706. machine and/or user logon session by setting either or both of the
  707. following REG_DWORD values in the registry using REGEDIT.EXE:
  708. HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\EnableExtensions
  709. and/or
  710. HKEY_CURRENT_USER\Software\Microsoft\Command Processor\EnableExtensions
  711. to either 0x1 or 0x0. The user specific setting takes precedence over
  712. the machine setting. The command line switches take precedence over the
  713. registry settings.
  714. The command extensions involve changes and/or additions to the following
  715. commands:
  716. DEL or ERASE
  717. COLOR
  718. CD or CHDIR
  719. MD or MKDIR
  720. PROMPT
  721. PUSHD
  722. POPD
  723. SET
  724. SETLOCAL
  725. ENDLOCAL
  726. IF
  727. FOR
  728. CALL
  729. SHIFT
  730. GOTO
  731. START (also includes changes to external command invocation)
  732. ASSOC
  733. FTYPE
  734. To get specific details, type commandname /? to view the specifics.
  735. .
  736. MessageId= SymbolicName=MSG_HELP_CMD_EXTENSIONS1
  737. Language=English
  738. Delayed environment variable expansion is NOT enabled by default. You
  739. can enable or disable delayed environment variable expansion for a
  740. particular invocation of CMD.EXE with the /V:ON or /V:OFF switch. You
  741. can enable or disable delayed expansion for all invocations of CMD.EXE on a
  742. machine and/or user logon session by setting either or both of the
  743. following REG_DWORD values in the registry using REGEDIT.EXE:
  744. HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\DelayedExpansion
  745. and/or
  746. HKEY_CURRENT_USER\Software\Microsoft\Command Processor\DelayedExpansion
  747. to either 0x1 or 0x0. The user specific setting takes precedence over
  748. the machine setting. The command line switches take precedence over the
  749. registry settings.
  750. If delayed environment variable expansion is enabled, then the exclamation
  751. character can be used to substitute the value of an environment variable
  752. at execution time.
  753. .
  754. MessageId= SymbolicName=MSG_HELP_CMD_COMPLETION1
  755. Language=English
  756. You can enable or disable file name completion for a particular
  757. invocation of CMD.EXE with the /F:ON or /F:OFF switch. You can enable
  758. or disable completion for all invocations of CMD.EXE on a machine and/or
  759. user logon session by setting either or both of the following REG_DWORD
  760. values in the registry using REGEDIT.EXE:
  761. HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\CompletionChar
  762. HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\PathCompletionChar
  763. and/or
  764. HKEY_CURRENT_USER\Software\Microsoft\Command Processor\CompletionChar
  765. HKEY_CURRENT_USER\Software\Microsoft\Command Processor\PathCompletionChar
  766. with the hex value of a control character to use for a particular
  767. function (e.g. 0x4 is Ctrl-D and 0x6 is Ctrl-F). The user specific
  768. settings take precedence over the machine settings. The command line
  769. switches take precedence over the registry settings.
  770. If completion is enabled with the /F:ON switch, the two control
  771. characters used are Ctrl-D for directory name completion and Ctrl-F for
  772. file name completion. To disable a particular completion character in
  773. the registry, use the value for space (0x20) as it is not a valid
  774. control character.
  775. .
  776. MessageId= SymbolicName=MSG_HELP_CMD_COMPLETION2
  777. Language=English
  778. Completion is invoked when you type either of the two control
  779. characters. The completion function takes the path string to the left
  780. of the cursor appends a wild card character to it if none is already
  781. present and builds up a list of paths that match. It then displays the
  782. first matching path. If no paths match, it just beeps and leaves the
  783. display alone. Thereafter, repeated pressing of the same control
  784. character will cycle through the list of matching paths. Pressing the
  785. Shift key with the control character will move through the list
  786. backwards. If you edit the line in any way and press the control
  787. character again, the saved list of matching paths is discarded and a new
  788. one generated. The same occurs if you switch between file and directory
  789. name completion. The only difference between the two control characters
  790. is the file completion character matches both file and directory names,
  791. while the directory completion character only matches directory names.
  792. If file completion is used on any of the built in directory commands
  793. (CD, MD or RD) then directory completion is assumed.
  794. The completion code deals correctly with file names that contain spaces
  795. or other special characters by placing quotes around the matching path.
  796. Also, if you back up, then invoke completion from within a line, the
  797. text to the right of the cursor at the point completion was invoked is
  798. discarded.
  799. The special characters that require quotes are:
  800. <space>
  801. &()[]{}^=;!%'+,`~
  802. .
  803. MessageId= SymbolicName=MSG_EXT_ENABLED
  804. Language=English
  805. Command Processor Extensions Enabled
  806. .
  807. MessageId= SymbolicName=MSG_EXT_ENABLED_BY_DEFAULT
  808. Language=English
  809. Command Processor Extensions enabled by default. Use CMD /? for details.
  810. .
  811. MessageId= SymbolicName=MSG_FILE_DELETED
  812. Language=English
  813. Deleted file - %1
  814. .
  815. MessageId= SymbolicName=MSG_HELP_ASSOC
  816. Language=English
  817. Displays or modifies file extension associations
  818. ASSOC [.ext[=[fileType]]]
  819. .ext Specifies the file extension to associate the file type with
  820. fileType Specifies the file type to associate with the file extension
  821. Type ASSOC without parameters to display the current file associations.
  822. If ASSOC is invoked with just a file extension, it displays the current
  823. file association for that file extension. Specify nothing for the file
  824. type and the command will delete the association for the file extension.
  825. .
  826. MessageID= SymbolicName=MSG_ASSOC_NOT_FOUND
  827. Language=English
  828. File association not found for extension %1
  829. .
  830. MessageId= SymbolicName=MSG_HELP_FTYPE
  831. Language=English
  832. Displays or modifies file types used in file extension associations
  833. FTYPE [fileType[=[openCommandString]]]
  834. fileType Specifies the file type to examine or change
  835. openCommandString Specifies the open command to use when launching files
  836. of this type.
  837. Type FTYPE without parameters to display the current file types that
  838. have open command strings defined. FTYPE is invoked with just a file
  839. type, it displays the current open command string for that file type.
  840. Specify nothing for the open command string and the FTYPE command will
  841. delete the open command string for the file type. Within an open
  842. command string %%0 or %%1 are substituted with the file name being
  843. launched through the assocation. %%* gets all the parameters and %%2
  844. gets the 1st parameter, %%3 the second, etc. %%~n gets all the remaining
  845. parameters starting with the nth parameter, where n may be between 2 and 9,
  846. inclusive. For example:
  847. ASSOC .pl=PerlScript
  848. FTYPE PerlScript=perl.exe %%1 %%*
  849. would allow you to invoke a Perl script as follows:
  850. script.pl 1 2 3
  851. If you want to eliminate the need to type the extensions, then do the
  852. following:
  853. set PATHEXT=.pl;%%PATHEXT%%
  854. and the script could be invoked as follows:
  855. script 1 2 3
  856. .
  857. MessageID= SymbolicName=MSG_FTYPE_NOT_FOUND
  858. Language=English
  859. File type '%1' not found or no open command associated with it.
  860. .
  861. MessageID= SymbolicName=MSG_SETLOCAL_BAD_ARG
  862. Language=English
  863. Invalid parameter to SETLOCAL command
  864. .
  865. MessageID= SymbolicName=MSG_NO_COPYFILEEX
  866. Language=English
  867. The restartable option to the COPY command is not supported by
  868. this version of the operating system.
  869. .
  870. MessageID= SymbolicName=MSG_PATH_OPERATOR_INVALID
  871. Language=English
  872. The following usage of the path operator in batch-parameter
  873. substitution is invalid: %1
  874. For valid formats type CALL /? or FOR /?
  875. .
  876. MessageID= SymbolicName=MSG_ENV_VAR_NOT_FOUND
  877. Language=English
  878. Environment variable %1 not defined
  879. .
  880. MessageID= SymbolicName=MSG_CALL_LABEL_INVALID
  881. Language=English
  882. Invalid attempt to call batch label outside of batch script.
  883. .
  884. MessageId= SymbolicName=MSG_MISSING_BAT_LABEL
  885. Language=English
  886. The system cannot find the batch label specified - %1
  887. .
  888. MessageId= SymbolicName=MSG_UNICODE_NOT_SUPPORTED
  889. Language=English
  890. The unicode output option to CMD.EXE is not supported by this
  891. version of the operating system.
  892. .
  893. MessageId= SymbolicName=MSG_HELP_DEL_ERASE_X
  894. Language=English
  895. If Command Extensions are enabled DEL and ERASE change as follows:
  896. The display semantics of the /S switch are reversed in that it shows
  897. you only the files that are deleted, not the ones it could not find.
  898. .
  899. MessageId= SymbolicName=MSG_HELP_CHDIR_X
  900. Language=English
  901. If Command Extensions are enabled CHDIR changes as follows:
  902. The current directory string is converted to use the same case as
  903. the on disk names. So CD C:\TEMP would actually set the current
  904. directory to C:\Temp if that is the case on disk.
  905. CHDIR command does not treat spaces as delimiters, so it is possible to
  906. CD into a subdirectory name that contains a space without surrounding
  907. the name with quotes. For example:
  908. cd \winnt\profiles\username\programs\start menu
  909. is the same as:
  910. cd "\winnt\profiles\username\programs\start menu"
  911. which is what you would have to type if extensions were disabled.
  912. .
  913. MessageId= SymbolicName=MSG_HELP_MKDIR_X
  914. Language=English
  915. If Command Extensions are enabled MKDIR changes as follows:
  916. MKDIR creates any intermediate directories in the path, if needed.
  917. For example, assume \a does not exist then:
  918. mkdir \a\b\c\d
  919. is the same as:
  920. mkdir \a
  921. chdir \a
  922. mkdir b
  923. chdir b
  924. mkdir c
  925. chdir c
  926. mkdir d
  927. which is what you would have to type if extensions were disabled.
  928. .
  929. MessageId= SymbolicName=MSG_HELP_DATE_X
  930. Language=English
  931. If Command Extensions are enabled the DATE command supports
  932. the /T switch which tells the command to just output the
  933. current date, without prompting for a new date.
  934. .
  935. MessageId= SymbolicName=MSG_HELP_TIME_X
  936. Language=English
  937. If Command Extensions are enabled the TIME command supports
  938. the /T switch which tells the command to just output the
  939. current time, without prompting for a new time.
  940. .
  941. MessageId= SymbolicName=MSG_HELP_PROMPT_X
  942. Language=English
  943. If Command Extensions are enabled the PROMPT command supports
  944. the following additional formatting characters:
  945. $+ zero or more plus sign (+) characters depending upon the
  946. depth of the PUSHD directory stack, one character for each
  947. level pushed.
  948. $M Displays the remote name associated with the current drive
  949. letter or the empty string if current drive is not a network
  950. drive.
  951. .
  952. MessageId= SymbolicName=MSG_HELP_PUSHDIR_X
  953. Language=English
  954. If Command Extensions are enabled the PUSHD command accepts
  955. network paths in addition to the normal drive letter and path.
  956. If a network path is specified, PUSHD will create a temporary
  957. drive letter that points to that specified network resource and
  958. then change the current drive and directory, using the newly
  959. defined drive letter. Temporary drive letters are allocated from
  960. Z: on down, using the first unused drive letter found.
  961. .
  962. MessageId= SymbolicName=MSG_HELP_POPDIR_X
  963. Language=English
  964. If Command Extensions are enabled the POPD command will delete
  965. any temporary drive letter created by PUSHD when you POPD that
  966. drive off the pushed directory stack.
  967. .
  968. MessageId= SymbolicName=MSG_HELP_SET_X
  969. Language=English
  970. If Command Extensions are enabled SET changes as follows:
  971. SET command invoked with just a variable name, no equal sign or value
  972. will display the value of all variables whose prefix matches the name
  973. given to the SET command. For example:
  974. SET P
  975. would display all variables that begin with the letter 'P'
  976. SET command will set the ERRORLEVEL to 1 if the variable name is not
  977. found in the current environment.
  978. SET command will not allow an equal sign to be part of the name of
  979. a variable.
  980. Two new switches have been added to the SET command:
  981. SET /A expression
  982. SET /P variable=[promptString]
  983. The /A switch specifies that the string to the right of the equal sign
  984. is a numerical expression that is evaluated. The expression evaluator
  985. is pretty simple and supports the following operations, in decreasing
  986. order of precedence:
  987. () - grouping
  988. ! ~ - - unary operators
  989. * / %% - arithmetic operators
  990. + - - arithmetic operators
  991. << >> - logical shift
  992. & - bitwise and
  993. ^ - bitwise exclusive or
  994. | - bitwise or
  995. = *= /= %%= += -= - assignment
  996. &= ^= |= <<= >>=
  997. , - expression separator
  998. If you use any of the logical or modulus operators, you will need to
  999. enclose the expression string in quotes. Any non-numeric strings in the
  1000. expression are treated as environment variable names whose values are
  1001. converted to numbers before using them. If an environment variable name
  1002. is specified but is not defined in the current environment, then a value
  1003. of zero is used. This allows you to do arithmetic with environment
  1004. variable values without having to type all those %% signs to get their
  1005. values. If SET /A is executed from the command line outside of a
  1006. command script, then it displays the final value of the expression. The
  1007. assignment operator requires an environment variable name to the left of
  1008. the assignment operator. Numeric values are decimal numbers, unless
  1009. prefixed by 0x for hexadecimal numbers, and 0 for octal numbers.
  1010. So 0x12 is the same as 18 is the same as 022. Please note that the octal
  1011. notation can be confusing: 08 and 09 are not valid numbers because 8 and
  1012. 9 are not valid octal digits.
  1013. .
  1014. MessageId=
  1015. Language=English
  1016. The /P switch allows you to set the value of a variable to a line of input
  1017. entered by the user. Displays the specified promptString before reading
  1018. the line of input. The promptString can be empty.
  1019. Environment variable substitution has been enhanced as follows:
  1020. %%PATH:str1=str2%%
  1021. would expand the PATH environment variable, substituting each occurrence
  1022. of "str1" in the expanded result with "str2". "str2" can be the empty
  1023. string to effectively delete all occurrences of "str1" from the expanded
  1024. output. "str1" can begin with an asterisk, in which case it will match
  1025. everything from the beginning of the expanded output to the first
  1026. occurrence of the remaining portion of str1.
  1027. May also specify substrings for an expansion.
  1028. %%PATH:~10,5%%
  1029. would expand the PATH environment variable, and then use only the 5
  1030. characters that begin at the 11th (offset 10) character of the expanded
  1031. result. If the length is not specified, then it defaults to the
  1032. remainder of the variable value. If either number (offset or length) is
  1033. negative, then the number used is the length of the environment variable
  1034. value added to the offset or length specified.
  1035. %%PATH:~-10%%
  1036. would extract the last 10 characters of the PATH variable.
  1037. %%PATH:~0,-2%%
  1038. would extract all but the last 2 characters of the PATH variable.
  1039. .
  1040. MessageId=
  1041. Language=English
  1042. Finally, support for delayed environment variable expansion has been
  1043. added. This support is always disabled by default, but may be
  1044. enabled/disabled via the /V command line switch to CMD.EXE. See CMD /?
  1045. Delayed environment variable expansion is useful for getting around
  1046. the limitations of the current expansion which happens when a line
  1047. of text is read, not when it is executed. The following example
  1048. demonstrates the problem with immediate variable expansion:
  1049. set VAR=before
  1050. if "%%VAR%%" == "before" (
  1051. set VAR=after
  1052. if "%%VAR%%" == "after" @echo If you see this, it worked
  1053. )
  1054. would never display the message, since the %%VAR%% in BOTH IF statements
  1055. is substituted when the first IF statement is read, since it logically
  1056. includes the body of the IF, which is a compound statement. So the
  1057. IF inside the compound statement is really comparing "before" with
  1058. "after" which will never be equal. Similarly, the following example
  1059. will not work as expected:
  1060. set LIST=
  1061. for %%i in (*) do set LIST=%%LIST%% %%i
  1062. echo %%LIST%%
  1063. in that it will NOT build up a list of files in the current directory,
  1064. but instead will just set the LIST variable to the last file found.
  1065. Again, this is because the %%LIST%% is expanded just once when the
  1066. FOR statement is read, and at that time the LIST variable is empty.
  1067. So the actual FOR loop we are executing is:
  1068. for %%i in (*) do set LIST= %%i
  1069. which just keeps setting LIST to the last file found.
  1070. Delayed environment variable expansion allows you to use a different
  1071. character (the exclamation mark) to expand environment variables at
  1072. execution time. If delayed variable expansion is enabled, the above
  1073. examples could be written as follows to work as intended:
  1074. set VAR=before
  1075. if "%%VAR%%" == "before" (
  1076. set VAR=after
  1077. if "!VAR!" == "after" @echo If you see this, it worked
  1078. )
  1079. set LIST=
  1080. for %%i in (*) do set LIST=!LIST! %%i
  1081. echo %%LIST%%
  1082. .
  1083. MessageId=
  1084. Language=English
  1085. If Command Extensions are enabled, then there are several dynamic
  1086. environment variables that can be expanded but which don't show up in
  1087. the list of variables displayed by SET. These variable values are
  1088. computed dynamically each time the value of the variable is expanded.
  1089. If the user explicitly defines a variable with one of these names, then
  1090. that definition will override the dynamic one described below:
  1091. %%CD%% - expands to the current directory string.
  1092. %%DATE%% - expands to current date using same format as DATE command.
  1093. %%TIME%% - expands to current time using same format as TIME command.
  1094. %%RANDOM%% - expands to a random decimal number between 0 and 32767.
  1095. %%ERRORLEVEL%% - expands to the current ERRORLEVEL value
  1096. %%CMDEXTVERSION%% - expands to the current Command Processor Extensions
  1097. version number.
  1098. %%CMDCMDLINE%% - expands to the original command line that invoked the
  1099. Command Processor.
  1100. .
  1101. MessageId= SymbolicName=MSG_HELP_GOTO_X
  1102. Language=English
  1103. If Command Extensions are enabled GOTO changes as follows:
  1104. GOTO command now accepts a target label of :EOF which transfers control
  1105. to the end of the current batch script file. This is an easy way to
  1106. exit a batch script file without defining a label. Type CALL /? for a
  1107. description of extensions to the CALL command that make this feature
  1108. useful.
  1109. .
  1110. MessageId= SymbolicName=MSG_HELP_SHIFT_X
  1111. Language=English
  1112. If Command Extensions are enabled the SHIFT command supports
  1113. the /n switch which tells the command to start shifting at the
  1114. nth argument, where n may be between zero and eight. For example:
  1115. SHIFT /2
  1116. would shift %%3 to %%2, %%4 to %%3, etc. and leave %%0 and %%1 unaffected.
  1117. .
  1118. MessageId= SymbolicName=MSG_HELP_CALL_X
  1119. Language=English
  1120. If Command Extensions are enabled CALL changes as follows:
  1121. CALL command now accepts labels as the target of the CALL. The syntax
  1122. is:
  1123. CALL :label arguments
  1124. A new batch file context is created with the specified arguments and
  1125. control is passed to the statement after the label specified. You must
  1126. "exit" twice by reaching the end of the batch script file twice. The
  1127. first time you read the end, control will return to just after the CALL
  1128. statement. The second time will exit the batch script. Type GOTO /?
  1129. for a description of the GOTO :EOF extension that will allow you to
  1130. "return" from a batch script.
  1131. In addition, expansion of batch script argument references (%%0, %%1,
  1132. etc.) have been changed as follows:
  1133. %%* in a batch script refers to all the arguments (e.g. %%1 %%2 %%3
  1134. %%4 %%5 ...)
  1135. Substitution of batch parameters (%%n) has been enhanced. You can
  1136. now use the following optional syntax:
  1137. %%~1 - expands %%1 removing any surrounding quotes (")
  1138. %%~f1 - expands %%1 to a fully qualified path name
  1139. %%~d1 - expands %%1 to a drive letter only
  1140. %%~p1 - expands %%1 to a path only
  1141. %%~n1 - expands %%1 to a file name only
  1142. %%~x1 - expands %%1 to a file extension only
  1143. %%~s1 - expanded path contains short names only
  1144. %%~a1 - expands %%1 to file attributes
  1145. %%~t1 - expands %%1 to date/time of file
  1146. %%~z1 - expands %%1 to size of file
  1147. %%~$PATH:1 - searches the directories listed in the PATH
  1148. environment variable and expands %%1 to the fully
  1149. qualified name of the first one found. If the
  1150. environment variable name is not defined or the
  1151. file is not found by the search, then this
  1152. modifier expands to the empty string
  1153. .
  1154. MessageId=
  1155. Language=English
  1156. The modifiers can be combined to get compound results:
  1157. %%~dp1 - expands %%1 to a drive letter and path only
  1158. %%~nx1 - expands %%1 to a file name and extension only
  1159. %%~dp$PATH:1 - searches the directories listed in the PATH
  1160. environment variable for %%1 and expands to the
  1161. drive letter and path of the first one found.
  1162. %%~ftza1 - expands %%1 to a DIR like output line
  1163. In the above examples %%1 and PATH can be replaced by other
  1164. valid values. The %%~ syntax is terminated by a valid argument
  1165. number. The %%~ modifiers may not be used with %%*
  1166. .
  1167. MessageId= SymbolicName=MSG_HELP_SETLOCAL_X
  1168. Language=English
  1169. If Command Extensions are enabled SETLOCAL changes as follows:
  1170. SETLOCAL batch command now accepts optional arguments:
  1171. ENABLEEXTENSIONS / DISABLEEXTENSIONS
  1172. enable or disable command processor extensions. See
  1173. CMD /? for details.
  1174. ENABLEDELAYEDEXPANSION / DISABLEDELAYEDEXPANSION
  1175. enable or disable delayed environment variable
  1176. expansion. See SET /? for details.
  1177. These modifications last until the matching ENDLOCAL command,
  1178. regardless of their setting prior to the SETLOCAL command.
  1179. The SETLOCAL command will set the ERRORLEVEL value if given
  1180. an argument. It will be zero if one of the two valid arguments
  1181. is given and one otherwise. You can use this in batch scripts
  1182. to determine if the extensions are available, using the following
  1183. technique:
  1184. VERIFY OTHER 2>nul
  1185. SETLOCAL ENABLEEXTENSIONS
  1186. IF ERRORLEVEL 1 echo Unable to enable extensions
  1187. This works because on old versions of CMD.EXE, SETLOCAL does NOT
  1188. set the ERRORLEVEL value. The VERIFY command with a bad argument
  1189. initializes the ERRORLEVEL value to a non-zero value.
  1190. .
  1191. MessageId= SymbolicName=MSG_HELP_ENDLOCAL_X
  1192. Language=English
  1193. If Command Extensions are enabled ENDLOCAL changes as follows:
  1194. If the corresponding SETLOCAL enable or disabled command extensions
  1195. using the new ENABLEEXTENSIONS or DISABLEEXTENSIONS options, then
  1196. after the ENDLOCAL, the enabled/disabled state of command extensions
  1197. will be restored to what it was prior to the matching SETLOCAL
  1198. command execution.
  1199. .
  1200. MessageId= SymbolicName=MSG_HELP_START_X
  1201. Language=English
  1202. If Command Extensions are enabled, external command invocation
  1203. through the command line or the START command changes as follows:
  1204. non-executable files may be invoked through their file association just
  1205. by typing the name of the file as a command. (e.g. WORD.DOC would
  1206. launch the application associated with the .DOC file extension).
  1207. See the ASSOC and FTYPE commands for how to create these
  1208. associations from within a command script.
  1209. When executing an application that is a 32-bit GUI application, CMD.EXE
  1210. does not wait for the application to terminate before returning to
  1211. the command prompt. This new behavior does NOT occur if executing
  1212. within a command script.
  1213. When executing a command line whose first token is the string "CMD "
  1214. without an extension or path qualifier, then "CMD" is replaced with
  1215. the value of the COMSPEC variable. This prevents picking up CMD.EXE
  1216. from the current directory.
  1217. When executing a command line whose first token does NOT contain an
  1218. extension, then CMD.EXE uses the value of the PATHEXT
  1219. environment variable to determine which extensions to look for
  1220. and in what order. The default value for the PATHEXT variable
  1221. is:
  1222. .COM;.EXE;.BAT;.CMD
  1223. Notice the syntax is the same as the PATH variable, with
  1224. semicolons separating the different elements.
  1225. When searching for an executable, if there is no match on any extension,
  1226. then looks to see if the name matches a directory name. If it does, the
  1227. START command launches the Explorer on that path. If done from the
  1228. command line, it is the equivalent to doing a CD /D to that path.
  1229. .
  1230. MessageId= SymbolicName=MSG_HELP_BREAK_X
  1231. Language=English
  1232. If Command Extensions are enabled, and running on the Windows
  1233. platform, then the BREAK command will enter a hard coded breakpoint
  1234. if being debugged by a debugger.
  1235. .
  1236. MessageId= SymbolicName=MSG_HELP_FOR_X
  1237. Language=English
  1238. If Command Extensions are enabled, the following additional
  1239. forms of the FOR command are supported:
  1240. FOR /D %%variable IN (set) DO command [command-parameters]
  1241. If set contains wildcards, then specifies to match against directory
  1242. names instead of file names.
  1243. FOR /R [[drive:]path] %%variable IN (set) DO command [command-parameters]
  1244. Walks the directory tree rooted at [drive:]path, executing the FOR
  1245. statement in each directory of the tree. If no directory
  1246. specification is specified after /R then the current directory is
  1247. assumed. If set is just a single period (.) character then it
  1248. will just enumerate the directory tree.
  1249. FOR /L %%variable IN (start,step,end) DO command [command-parameters]
  1250. The set is a sequence of numbers from start to end, by step amount.
  1251. So (1,1,5) would generate the sequence 1 2 3 4 5 and (5,-1,1) would
  1252. generate the sequence (5 4 3 2 1)
  1253. FOR /F ["options"] %%variable IN (file-set) DO command [command-parameters]
  1254. FOR /F ["options"] %%variable IN ("string") DO command [command-parameters]
  1255. FOR /F ["options"] %%variable IN ('command') DO command [command-parameters]
  1256. or, if usebackq option present:
  1257. FOR /F ["options"] %%variable IN (file-set) DO command [command-parameters]
  1258. FOR /F ["options"] %%variable IN ('string') DO command [command-parameters]
  1259. FOR /F ["options"] %%variable IN (`command`) DO command [command-parameters]
  1260. filenameset is one or more file names. Each file is opened, read
  1261. and processed before going on to the next file in filenameset.
  1262. Processing consists of reading in the file, breaking it up into
  1263. individual lines of text and then parsing each line into zero or
  1264. more tokens. The body of the for loop is then called with the
  1265. variable value(s) set to the found token string(s). By default, /F
  1266. passes the first blank separated token from each line of each file.
  1267. Blank lines are skipped. You can override the default parsing
  1268. behavior by specifying the optional "options" parameter. This
  1269. is a quoted string which contains one or more keywords to specify
  1270. different parsing options. The keywords are:
  1271. .
  1272. MessageId=
  1273. Language=English
  1274. eol=c - specifies an end of line comment character
  1275. (just one)
  1276. skip=n - specifies the number of lines to skip at the
  1277. beginning of the file.
  1278. delims=xxx - specifies a delimiter set. This replaces the
  1279. default delimiter set of space and tab.
  1280. tokens=x,y,m-n - specifies which tokens from each line are to
  1281. be passed to the for body for each iteration.
  1282. This will cause additional variable names to
  1283. be allocated. The m-n form is a range,
  1284. specifying the mth through the nth tokens. If
  1285. the last character in the tokens= string is an
  1286. asterisk, then an additional variable is
  1287. allocated and receives the remaining text on
  1288. the line after the last token parsed.
  1289. usebackq - specifies that the new semantics are in force,
  1290. where a back quoted string is executed as a
  1291. command and a single quoted string is a
  1292. literal string command and allows the use of
  1293. double quotes to quote file names in
  1294. filenameset.
  1295. Some examples might help:
  1296. FOR /F "eol=; tokens=2,3* delims=, " %%i in (myfile.txt) do @echo %%i %%j %%k
  1297. .
  1298. MessageId=
  1299. Language=English
  1300. would parse each line in myfile.txt, ignoring lines that begin with
  1301. a semicolon, passing the 2nd and 3rd token from each line to the for
  1302. body, with tokens delimited by commas and/or spaces. Notice the for
  1303. body statements reference %%i to get the 2nd token, %%j to get the
  1304. 3rd token, and %%k to get all remaining tokens after the 3rd. For
  1305. file names that contain spaces, you need to quote the filenames with
  1306. double quotes. In order to use double quotes in this manner, you also
  1307. need to use the usebackq option, otherwise the double quotes will be
  1308. interpreted as defining a literal string to parse.
  1309. %%i is explicitly declared in the for statement and the %%j and %%k
  1310. are implicitly declared via the tokens= option. You can specify up
  1311. to 26 tokens via the tokens= line, provided it does not cause an
  1312. attempt to declare a variable higher than the letter 'z' or 'Z'.
  1313. Remember, FOR variables are single-letter, case sensitive, global,
  1314. and you can't have more than 52 total active at any one time.
  1315. You can also use the FOR /F parsing logic on an immediate string, by
  1316. making the filenameset between the parenthesis a quoted string,
  1317. using single quote characters. It will be treated as a single line
  1318. of input from a file and parsed.
  1319. Finally, you can use the FOR /F command to parse the output of a
  1320. command. You do this by making the filenameset between the
  1321. parenthesis a back quoted string. It will be treated as a command
  1322. line, which is passed to a child CMD.EXE and the output is captured
  1323. into memory and parsed as if it was a file. So the following
  1324. example:
  1325. FOR /F "usebackq delims==" %%i IN (`set`) DO @echo %%i
  1326. would enumerate the environment variable names in the current
  1327. environment.
  1328. .
  1329. MessageId=
  1330. Language=English
  1331. In addition, substitution of FOR variable references has been enhanced.
  1332. You can now use the following optional syntax:
  1333. %%~I - expands %%I removing any surrounding quotes (")
  1334. %%~fI - expands %%I to a fully qualified path name
  1335. %%~dI - expands %%I to a drive letter only
  1336. %%~pI - expands %%I to a path only
  1337. %%~nI - expands %%I to a file name only
  1338. %%~xI - expands %%I to a file extension only
  1339. %%~sI - expanded path contains short names only
  1340. %%~aI - expands %%I to file attributes of file
  1341. %%~tI - expands %%I to date/time of file
  1342. %%~zI - expands %%I to size of file
  1343. %%~$PATH:I - searches the directories listed in the PATH
  1344. environment variable and expands %%I to the
  1345. fully qualified name of the first one found.
  1346. If the environment variable name is not
  1347. defined or the file is not found by the
  1348. search, then this modifier expands to the
  1349. empty string
  1350. The modifiers can be combined to get compound results:
  1351. %%~dpI - expands %%I to a drive letter and path only
  1352. %%~nxI - expands %%I to a file name and extension only
  1353. %%~fsI - expands %%I to a full path name with short names only
  1354. %%~dp$PATH:I - searches the directories listed in the PATH
  1355. environment variable for %%I and expands to the
  1356. drive letter and path of the first one found.
  1357. %%~ftzaI - expands %%I to a DIR like output line
  1358. In the above examples %%I and PATH can be replaced by other valid
  1359. values. The %%~ syntax is terminated by a valid FOR variable name.
  1360. Picking upper case variable names like %%I makes it more readable and
  1361. avoids confusion with the modifiers, which are not case sensitive.
  1362. .
  1363. MessageId= SymbolicName=MSG_HELP_IF_X
  1364. Language=English
  1365. If Command Extensions are enabled IF changes as follows:
  1366. IF [/I] string1 compare-op string2 command
  1367. IF CMDEXTVERSION number command
  1368. IF DEFINED variable command
  1369. where compare-op may be one of:
  1370. EQU - equal
  1371. NEQ - not equal
  1372. LSS - less than
  1373. LEQ - less than or equal
  1374. GTR - greater than
  1375. GEQ - greater than or equal
  1376. and the /I switch, if specified, says to do case insensitive string
  1377. compares. The /I switch can also be used on the string1==string2 form
  1378. of IF. These comparisons are generic, in that if both string1 and
  1379. string2 are both comprised of all numeric digits, then the strings are
  1380. converted to numbers and a numeric comparison is performed.
  1381. The CMDEXTVERSION conditional works just like ERRORLEVEL, except it is
  1382. comparing against an internal version number associated with the Command
  1383. Extensions. The first version is 1. It will be incremented by one when
  1384. significant enhancements are added to the Command Extensions.
  1385. CMDEXTVERSION conditional is never true when Command Extensions are
  1386. disabled.
  1387. The DEFINED conditional works just like EXISTS except it takes an
  1388. environment variable name and returns true if the environment variable
  1389. is defined.
  1390. .
  1391. MessageId=
  1392. Language=English
  1393. %%ERRORLEVEL%% will expand into a string representation of
  1394. the current value of ERRORLEVEL, provided that there is not already
  1395. an environment variable with the name ERRORLEVEL, in which case you
  1396. will get its value instead. After running a program, the following
  1397. illustrates ERRORLEVEL use:
  1398. goto answer%%ERRORLEVEL%%
  1399. :answer0
  1400. echo Program had return code 0
  1401. :answer1
  1402. echo Program had return code 1
  1403. You can also using the numerical comparisons above:
  1404. IF %%ERRORLEVEL%% LEQ 1 goto okay
  1405. %%CMDCMDLINE%% will expand into the original command line passed to
  1406. CMD.EXE prior to any processing by CMD.EXE, provided that there is not
  1407. already an environment variable with the name CMDCMDLINE, in which case
  1408. you will get its value instead.
  1409. %%CMDEXTVERSION%% will expand into a string representation of the
  1410. current value of CMDEXTVERSION, provided that there is not already
  1411. an environment variable with the name CMDEXTVERSION, in which case you
  1412. will get its value instead.
  1413. .
  1414. MessageId= SymbolicName=MSG_HELP_KEYS
  1415. Language=English
  1416. Enables or disables command line editing on DOS system
  1417. This is present for Compatibility with DOS systems. It has no effect
  1418. under Windows, as command line editing is always enabled.
  1419. .
  1420. MessageId= SymbolicName=MSG_NO_UNC_INITDIR
  1421. Language=English
  1422. '%1'
  1423. CMD.EXE was started with the above path as the current directory.
  1424. UNC paths are not supported. Defaulting to Windows directory.
  1425. .
  1426. MessageId= SymbolicName=MSG_NO_UNC_CURDIR
  1427. Language=English
  1428. '%1'
  1429. CMD does not support UNC paths as current directories.
  1430. .
  1431. MessageId= SymbolicName=MSG_SIM_UNC_CURDIR
  1432. Language=English
  1433. UNC paths not supported for current directory. Using
  1434. PUSHD %1
  1435. to create temporary drive letter to support UNC current
  1436. directory. Use POPD or EXIT to delete temporary drive
  1437. letter.
  1438. .
  1439. MessageID= SymbolicName=MSG_SHIFT_BAD_ARG
  1440. Language=English
  1441. Invalid parameter to SHIFT command
  1442. .
  1443. MessageID= SymbolicName=MSG_SET_A_MISMATCHED_PARENS
  1444. Language=English
  1445. Unbalanced parenthesis.
  1446. .
  1447. MessageID= SymbolicName=MSG_SET_A_MISSING_OPERAND
  1448. Language=English
  1449. Missing operand.
  1450. .
  1451. MessageID= SymbolicName=MSG_SET_A_MISSING_OPERATOR
  1452. Language=English
  1453. Missing operator.
  1454. .
  1455. MessageID= SymbolicName=MSG_SET_A_INVALID_NUMBER
  1456. Language=English
  1457. Invalid number. Numeric constants are either decimal (17),
  1458. hexadecimal (0x11), or octal (021).
  1459. .
  1460. MessageId= SymbolicName=MSG_SET_NUMBER_TOO_LARGE
  1461. Language=English
  1462. Invalid number. Numbers are limited to 32-bits of precision.
  1463. .
  1464. MessageID= SymbolicName=MSG_SET_A_DIVIDE_BY_ZERO
  1465. Language=English
  1466. Divide by zero error.
  1467. .
  1468. MessageID= SymbolicName=MSG_INVALID_COMSPEC
  1469. Language=English
  1470. The COMSPEC environment variable does not point to CMD.EXE.
  1471. .
  1472. MessageID= SymbolicName=MSG_MOVE_COPY_OVERWRITE
  1473. Language=English
  1474. Overwrite %1? (Yes/No/All): %0
  1475. .
  1476. MessageId= SymbolicName=MSG_NOYESALL_RESPONSE_DATA
  1477. Language=English
  1478. NYA%0
  1479. .
  1480. MessageId= SymbolicName=MSG_DIR_MOUNT_POINT
  1481. Language=English
  1482. <JUNCTION> %0
  1483. .
  1484. MessageId= SymbolicName=MSG_DIR_TOO_LONG
  1485. Language=English
  1486. The directory name %1\%2 is too long.
  1487. .
  1488. MessageId= SymbolicName=MSG_FULL_PATH_TOO_LONG
  1489. Language=English
  1490. The full path of %1 is too long.
  1491. .
  1492. MessageId= SymbolicName=MSG_PATH_TOO_LONG
  1493. Language=English
  1494. The path %1\%2 is too long.
  1495. .
  1496. MessageId= SymbolicName=MSG_FTYPE_TOO_LONG
  1497. Language=English
  1498. The FTYPE %1 is too long.
  1499. .
  1500. MessageId= SymbolicName=MSG_CANNOT_LOAD_LIB
  1501. Language=English
  1502. Unable to find library %1.
  1503. .
  1504. MessageId= SymbolicName=MSG_CANNOT_FIND_FUNC_NAME
  1505. Language=English
  1506. Cannot find function %1!S!:%2!S!.
  1507. .
  1508. MessageId= SymbolicName=MSG_CANNOT_FIND_FUNC_ORDINAL
  1509. Language=English
  1510. Cannot find ordinal %1!S!:%2!d!.
  1511. .
  1512. MessageId= SymbolicName=MSG_COMMAND_LINE_TOO_LONG
  1513. Language=English
  1514. The command line is too long.
  1515. .
  1516. MessageId= SymbolicName=MSG_UNABLE_TO_RESET_READ_ONLY_ATTRIBUTE
  1517. Language=English
  1518. The file %1 was copied, but CMD is unable to reset the
  1519. READ_ONLY attribute.
  1520. .
  1521. MessageID=10001 SymbolicName=MSG_FILE_NOT_FOUND
  1522. Language=English
  1523. File Not Found
  1524. .
  1525. MessageID=10002 SymbolicName=MSG_NOT_FOUND
  1526. Language=English
  1527. Could Not Find %1
  1528. .
  1529. MessageID=10003 SymbolicName=MSG_TIME_NOT_SUPPORTED
  1530. Language=English
  1531. The FAT File System only support Last Write Times
  1532. .
  1533. MessageId=10004 SymbolicName=MSG_HELP_SETLOCAL
  1534. Language=English
  1535. Begins localization of environment changes in a batch file. Environment
  1536. changes made after SETLOCAL has been issued are local to the batch file.
  1537. ENDLOCAL must be issued to restore the previous settings. When the end
  1538. of a batch script is reached, an implied ENDLOCAL is executed for any
  1539. outstanding SETLOCAL commands issued by that batch script.
  1540. SETLOCAL
  1541. .
  1542. MessageId=10005 SymbolicName=MSG_HELP_ENDLOCAL
  1543. Language=English
  1544. Ends localization of environment changes in a batch file.
  1545. Environment changes made after ENDLOCAL has been issued are
  1546. not local to the batch file; the previous settings are not
  1547. restored on termination of the batch file.
  1548. ENDLOCAL
  1549. .
  1550. MessageId=10006 SymbolicName=MSG_HELP_TITLE
  1551. Language=English
  1552. Sets the window title for the command prompt window.
  1553. TITLE [string]
  1554. string Specifies the title for the command prompt window.
  1555. .
  1556. MessageId=10007 SymbolicName=MSG_HELP_APPEND
  1557. Language=English
  1558. Allows programs to open data files in specified directories as if they were
  1559. in the current directory.
  1560. APPEND [[drive:]path[;...]] [/X[:ON | :OFF]] [/PATH:ON | /PATH:OFF] [/E]
  1561. APPEND ;
  1562. [drive:]path Specifies a drive and directory to append.
  1563. /X:ON Applies appended directories to file searches and
  1564. application execution.
  1565. /X:OFF Applies appended directories only to requests to open files.
  1566. /X:OFF is the default setting.
  1567. /PATH:ON Applies the appended directories to file requests that already
  1568. specify a path. /PATH:ON is the default setting.
  1569. /PATH:OFF Turns off the effect of /PATH:ON.
  1570. /E Stores a copy of the appended directory list in an environment
  1571. variable named APPEND. /E may be used only the first time
  1572. you use APPEND after starting up your system.
  1573. Type APPEND ; to clear the appended directory list.
  1574. Type APPEND without parameters to display the appended directory list.
  1575. .
  1576. MessageId=10008 SymbolicName=MSG_HELP_MOVE
  1577. Language=English
  1578. Moves files and renames files and directories.
  1579. To move one or more files:
  1580. MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination
  1581. To rename a directory:
  1582. MOVE [/Y | /-Y] [drive:][path]dirname1 dirname2
  1583. [drive:][path]filename1 Specifies the location and name of the file
  1584. or files you want to move.
  1585. destination Specifies the new location of the file. Destination
  1586. can consist of a drive letter and colon, a
  1587. directory name, or a combination. If you are moving
  1588. only one file, you can also include a filename if
  1589. you want to rename the file when you move it.
  1590. [drive:][path]dirname1 Specifies the directory you want to rename.
  1591. dirname2 Specifies the new name of the directory.
  1592. /Y Suppresses prompting to confirm you want to
  1593. overwrite an existing destination file.
  1594. /-Y Causes prompting to confirm you want to overwrite
  1595. an existing destination file.
  1596. The switch /Y may be present in the COPYCMD environment variable.
  1597. This may be overridden with /-Y on the command line. Default is
  1598. to prompt on overwrites unless MOVE command is being executed from
  1599. within a batch script.
  1600. .
  1601. MessageId=10009 SymbolicName=MSG_HELP_PUSHDIR
  1602. Language=English
  1603. Stores the current directory for use by the POPD command, then
  1604. changes to the specified directory.
  1605. PUSHD [path | ..]
  1606. path Specifies the directory to make the current directory.
  1607. .
  1608. MessageId=10010 SymbolicName=MSG_HELP_POPDIR
  1609. Language=English
  1610. Changes to the directory stored by the PUSHD command.
  1611. POPD
  1612. .
  1613. MessageId=10011 SymbolicName=MSG_FILE_NAME_PRECEEDING_ERROR
  1614. Language=English
  1615. %1 - %0
  1616. .
  1617. MessageId=10012 SymbolicName=MSG_MAX_SETLOCAL
  1618. Language=English
  1619. Maximum setlocal recursion level reached.
  1620. .
  1621. MessageId=10013 SymbolicName=MSG_ENTER_JAPAN_DATE
  1622. Language=English
  1623. Enter the new date: (yy-mm-dd) %0
  1624. .
  1625. MessageId=10014 SymbolicName=MSG_ENTER_DEF_DATE
  1626. Language=English
  1627. Enter the new date: (dd-mm-yy) %0
  1628. .
  1629. MessageID=10015 SymbolicName=MSG_VERIFY_FAIL
  1630. Language=English
  1631. ERROR Verify - %1
  1632. .
  1633. MessageID=10016 SymbolicName=MSG_MOVE_MULTIPLE_FAIL
  1634. Language=English
  1635. Cannot move multiple files to a single file.
  1636. .
  1637. MessageId=10017 SymbolicName=MSG_RDR_HNDL_OPEN
  1638. Language=English
  1639. The handle could not be opened
  1640. during redirection of handle %1.
  1641. .
  1642. MessageId=10018 SymbolicName=MSG_PROGRESS
  1643. Language=English
  1644. %r%1%% copied %0
  1645. .
  1646. MessageId=10019 SymbolicName=MSG_HELP_COLOR
  1647. Language=English
  1648. Sets the default console foreground and background colors.
  1649. COLOR [attr]
  1650. attr Specifies color attribute of console output
  1651. Color attributes are specified by TWO hex digits -- the first
  1652. corresponds to the background; the second the foreground. Each digit
  1653. can be any of the following values:
  1654. 0 = Black 8 = Gray
  1655. 1 = Blue 9 = Light Blue
  1656. 2 = Green A = Light Green
  1657. 3 = Aqua B = Light Aqua
  1658. 4 = Red C = Light Red
  1659. 5 = Purple D = Light Purple
  1660. 6 = Yellow E = Light Yellow
  1661. 7 = White F = Bright White
  1662. If no argument is given, this command restores the color to what it was
  1663. when CMD.EXE started. This value either comes from the current console
  1664. window, the /T command line switch or from the DefaultColor registry
  1665. value.
  1666. The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute
  1667. the COLOR command with a foreground and background color that are the
  1668. same.
  1669. Example: "COLOR fc" produces light red on bright white
  1670. .
  1671. MessageId=10020 SymbolicName=MSG_MAX_PATH_EXCEEDED
  1672. Language=English
  1673. Maximum path length exceeded - %1
  1674. .
  1675. MessageId=10023 SymbolicName=MSG_ERROR_BATCH_RECURSION
  1676. Language=English
  1677. ****** B A T C H R E C U R S I O N exceeds STACK limits ******
  1678. Recursion Count=%1!d!, Stack Usage=%2!d! percent
  1679. ****** B A T C H PROCESSING IS A B O R T E D ******
  1680. .
  1681. MessageId=10024 SymbolicName=MSG_ERROR_PUSHD_DEPTH_EXCEEDED
  1682. Language=English
  1683. There are too many directories already in the PUSHD stack.
  1684. .
  1685. MessageId=10025 SymbolicName=MSG_DISABLED_BY_POLICY
  1686. Language=English
  1687. The command prompt has been disabled by your administrator.
  1688. .
  1689. ;#endif // _CMDMSG_