Depends on which operating system you are using and whether you want to copy more than one file.
In DOS/Windows command prompt "c:\copy xxxx /destination_folder/"
if more than one file you can use "c:\copy xxx.* /destination_folder/"
Xcopy has more options (verify, copy subdirectories ..) and is used "c:\xcopy xxx* /s /destination_folder/"
In Unix/Linux/OSX cp is the command for copying
as in "#darkstar$cp -R *.txt /destination_folder/"
cp has a lot more option than xcopy but you will need to type either "cp --help" or "man cp" to get the best of cp's actions.
XCOPY
DISKCOPY is the command to copy all of the files to memory and then copy those files to another disk. Unfortunately, it does not copy to multiple disks. Here is the syntax: DISKCOPY [drive1: [drive2:]] [/1] [/V] [/M] /1 Copies only the first side of the disk. /V Verifies that the information is copied correctly. /M Force multi-pass copy using memory only.
birth file
echo "%username%"
PKZIP (also capitalized as PKZip) is a program, originally written for the DOS operating system , that gathers multiple files into a single compressed file that can be stored in less space and transmitted more quickly from one place to another.
config.sys and autoexec.bat
In MS-DOS, the copy con command is used for the creation of files from the command line. From the command line enter "copy con" and the name of the file desired to be created.
DISKCOPY is the command to copy all of the files to memory and then copy those files to another disk. Unfortunately, it does not copy to multiple disks. Here is the syntax: DISKCOPY [drive1: [drive2:]] [/1] [/V] [/M] /1 Copies only the first side of the disk. /V Verifies that the information is copied correctly. /M Force multi-pass copy using memory only.
To copy directory, you need to run xcopy command.. You can not copy directory with copy command.. xcopy c:\*.* /s/e a:\ This will copy entire contents to A drive..
XCOPY/D : date
The COPY command
To copy files to RAM in MS-DOS, you have to use the COPY function after converting the file to a system file with the *.sys extension.
These are all DOS commands for the old PC DOS operating system. Copy could copy some combination of file or files (via wildcards) within a given directory, xcopy could do that as well as copy directories, diskcopy could make duplicates of disks usually floppy disks.
When using the format command in DOS, the /s command-line argument "format c: /s" tells the system to copy over the system files necessary to make the drive DOS bootable. It is the same as using the "sys" command after finishing the format.
The attrib command is capable of displaying files that have been marked as hidden.
DIR
I think you meant msdos.sys. The commands in DOS used to move files are COPY and XCOPY. These commands will move files between drives or between folders.Most DOS commands have an online explanation if you follow the command with a /?.An example of copying is COPY filename.exe D: if you are already on the C: drive.XCOPY is more versatile with more than 20 different switches It can copy hidden andsystem files, as well.
Generally, the 3 files you need on a disk to run MS-DOS are IO.SYS, MSDOS.SYS, and Command.com. You cannot just copy IO.SYS and MSDOS.SYS, but you have to use the SYS command. Newer versions also copy command.com, but older ones didn't. So make sure command com exists after running SYS on the diskette or other drive.