Article ID: 96061 - Last Review: November 22, 1999 - Revision: 1.0 MS-DOS Err Msg: Could Not Copy COMMAND.COM to Target...This article was previously published under Q96061 SYMPTOMS
When you use the SYS command (SYS.COM) to transfer the MS-DOS startup
file to another disk and COMMAND.COM is not in the root directory of
your startup drive, you receive the following error message:
Could not copy COMMAND.COM onto target disk
CAUSE
Even if the COMSPEC environment variable and the SHELL= statement in the
CONFIG.SYS file point to COMMAND.COM in a different directory, SYS.COM
still looks for COMMAND.COM in the root directory of the startup drive.
WORKAROUND
To work around this problem, copy COMMAND.COM to the root directory of your
startup drive (see your MS-DOS manual for information about copying files).
Then, set the read-only attribute with the ATTRIB command. For example,
type the following at the MS-DOS command prompt and press ENTER:
attrib +r command.com
APPLIES TO
| Article Translations
|


Back to the top
