sys(CMD) 19 June 1992 sys(CMD) Name sys - copy system files and COMMAND.COM to the disk in a specified drive Syntax sys [drive1:][path] drive2: Description The two system files (IO.SYS and MSDOS.SYS) are hidden files and do not typically appear when you type the dir command. Parameters [drive1:][path] Specifies the location of the system files. If you do not specify a path, MS-DOS searches the root directory on the current drive for the system files. drive2: Specifies the drive to which you want to copy the system files. These files can be copied only to a root directory, not to a subdirectory. Notes How the sys command copies files The sys command copies the files in the following order: IO.SYS, MSDOS.SYS, and COMMAND.COM. No requirement for contiguous files MS-DOS no longer requires the two system files to be contiguous. This means that when you want to copy a new version of MS-DOS to a disk con- taining system files for MS-DOS version 3.3 or earlier, you need not reformat the disk. Using the sys command on assigned drives and networks The sys command does not work on drives that have been redirected by using the assign, join, or subst command. sys also does not work on net- work drives. Examples To copy the MS-DOS system files and command interpreter from the disk in the current drive to a disk in drive A, type the following command: sys a: To copy the MS-DOS system files and command interpreter from the disk in drive D to a disk in drive A, type the following the command: sys d:\ a: Related commands For information about copying files, see the copy(CMD) and xcopy(CMD) commands.