Microsoft KB Archive/39923

MS-DOS: Information on /MSG Option of COMMAND.COM PSS ID Number: Q39923 Article last modified on 09-16-1993 PSS database name: O_MSDOS

4.00 4.01

MS-DOS

= SUMMARY =

The /MSG option for COMMAND.COM is new to MS-DOS version 4.0. This option controls the way that COMMAND.COM stores extended error and parse error messages. This option is not fully described in the “Microsoft MS-DOS Version 4.00 User’s Reference” manual.

The /MSG option tells COMMAND.COM to keep the parse error and extended error message text in memory. If the option is not specified, the information is not kept in memory, and the running copy of COMMAND.COM must get the text for these messages from a copy of COMMAND.COM residing on disk. Thus, the /MSG option should only be used on floppy-disk-based systems, where disk access is slow. If the system is memory-constrained, the /MSG option should not be used, thus preventing these error messages from taking up memory.

The /MSG option should only be used in conjunction with the /P option, used on the root or primary copy of the command processor. If both the /P and the /MSG options are entered, the parse error and extended error messages of COMMAND.COM are kept in memory. If the /MSG option is entered and the /P option is not entered, the parse error and extended error messages remain on the disk copy of COMMAND.COM and are not present in memory.

= MORE INFORMATION =

If the disk cannot be accessed to display one of these error messages (for example, the COMSPEC value is not pointing to a valid copy of COMMAND.COM) when the /MSG option is not specified and the extended and parse error messages are kept on disk, MS-DOS will display one of the following messages:

Parse Error 

-or-

Extended Error 

where  is the error number.

The following is a list of the parse error message numbers and their associated message text (for more information on these messages, refer to the “Microsoft User’s Reference Manual”):

01 Too many parameters 02 Required parameter missing 03 Invalid switch 04 Invalid keyword 06 Parameter value not in allowed range 07 Parameter value not allowed 08 Parameter value not allowed 09 Parameter format not correct 10 Invalid parameter 11 Invalid parameter combination

The following is a list of the extended error message numbers and their associated message text [for more information on these messages, refer to the “Microsoft MS-DOS Version 4.00 User’s Reference Manual”; for more information on the network messages, refer to the Microsoft MS-Networks or IBM PC-LAN Program (or other OEM network) user’s reference manual]:

01 Invalid function 02 File not found 03 Path not found 04 Too many open files 05 Access denied 06 Invalid handle 07 Memory control blocks destroyed 08 Insufficient memory 09 Invalid memory block address 10 Invalid environment 11 Invalid format 12 Invalid function parameter 13 Invalid data 15 Invalid drive specification 16 Attempt to remove current directory 17 Not same device 18 No more files 19 Write protect error 20 Invalid unit 21 Not ready 22 Invalid device request 23 Data error 24 Invalid device request parameters 25 Seek error 26 Invalid media type 27 Sector not found 28 Printer out of paper error 29 Write fault error 30 Read fault error 31 General failure 32 Sharing violation 33 Lock violation 34 Invalid disk change 35 FCB unavailable 36 System resource exhausted 37 Code page mismatch 38 Out of input 39 Insufficient disk space 50 NET809: Network request not supported 51 NET801: Remote computer not listening 52 NET802: Duplicate name on network 53 NET803: Network path not found 54 NET804: Network busy 55 NET805: Network device no longer exists 56 NET806: NETBIOS command limit exceeded 57 NET807: System error; NETBIOS error 58 NET808: Incorrect response from network 59 NET810: Unexpected network error 60 NET811: Incompatible remote adapter 61 NET812: Print queue full 62 NET813: Not enough space for print file 63 NET814: Print file was canceled 64 NET815: Network name was deleted 65 Access denied 66 NET817: Network device type incorrect 67 NET818: Network name not found 68 NET819: Network name limit exceeded 69 NET820: NETBIOS session limit exceeded 70 NET821: Sharing temporarily paused 71 NET823: Network request not accepted 72 NET822: Print or disk redirection is paused 73 NET476: Netbeui not loaded 74 NET477: Unexpected adapter close 80 File exists 82 Cannot make directory entry 83 Fail on INT 24 84 Too many redirections 85 Duplicate redirection 86 Invalid password 87 Invalid parameter 88 Network data fault 89 Function not supported by network 90 Required system component not installed

Additional reference words: 4.00 4.01 noupd

Copyright Microsoft Corporation 1993.