COPY is used to copy one or more files from one location to another.
COPY can also be used to create new files.
The first filename you enter is known as the source file.
The second filename you enter is the target file.
COPY can also be used to transfer data between any of the system devices.
Files may also be combined during the copy process.
EXAMPLE:
To copy the file TEST.DOC from the current directory to drive B, enter: copy test.doc b:
Wednesday, February 27, 2008
FORMAT
This prepares a disk for use.
The format command checks a disk for defects and creates a list where all the names of the disk’s files will be stored.
C> format a: Formats the diskette in the A drive.
If you FORMAT many disks type Yes, until you have finished formatting all your disks.
When you cmplete the format command with a disk that already contains files it will delete all the contents of the disk.
The format command checks a disk for defects and creates a list where all the names of the disk’s files will be stored.
C> format a: Formats the diskette in the A drive.
If you FORMAT many disks type Yes, until you have finished formatting all your disks.
When you cmplete the format command with a disk that already contains files it will delete all the contents of the disk.
ERASE FILES
The ERASE command deletes specified files.
C> erase a:myfile.txt Erases the file MYFILE.TXT from the diskette in the A drive.
If you aren’t careful, you may delete a file that you or someone else needs. Unless you have saved a backup of that file, the erased file is gone.
C> erase a:myfile.txt Erases the file MYFILE.TXT from the diskette in the A drive.
If you aren’t careful, you may delete a file that you or someone else needs. Unless you have saved a backup of that file, the erased file is gone.
Directories
The DIRECTORY command lists the names and sizes of all files located on a particular disk.
C> dir a: Shows directory of drive A
C> dir b: Shows directory of drive B
C> dir a:*.ex Lists all files on the A drive with an extension of ‘EXE’.
C> dir a: Shows directory of drive A
C> dir b: Shows directory of drive B
C> dir a:*.ex Lists all files on the A drive with an extension of ‘EXE’.
Operationg System: DOS
DOS stands for Disk Operating System.
C:\> is called the command prompt or DOS prompt. The flashing underscore next to the command prompt is called the cursor. The cursor shows where the command you type will appear.
Then press ENTER, which brings you to CD\.
Type in a command, which gets interpreted and then carried out by the DOS program.
The DOS program is called command.com or cmd.exeC:\> is called the command prompt or DOS prompt. The flashing underscore next to the command prompt is called the cursor. The cursor shows where the command you type will appear.
Then press ENTER, which brings you to CD\.
Subscribe to:
Posts (Atom)