Source code of Windows XP (NT5)
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.

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