There are two types of DOS commands: internal commands that are stored in memory and do not require disk access, and external commands that reside on the DOS disk and require disk access to run. Internal commands include COPY, DEL, DIR, VER, TYPE, and PRINT. External commands include CHKDSK, FORMAT, DISKCOPY, MD, CD, and RD. The FORMAT command initializes disks by writing code to assign tracks and sectors for data storage. It can also erase and check disks for errors.
Download as PPT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
17 views
DOS Commands
There are two types of DOS commands: internal commands that are stored in memory and do not require disk access, and external commands that reside on the DOS disk and require disk access to run. Internal commands include COPY, DEL, DIR, VER, TYPE, and PRINT. External commands include CHKDSK, FORMAT, DISKCOPY, MD, CD, and RD. The FORMAT command initializes disks by writing code to assign tracks and sectors for data storage. It can also erase and check disks for errors.
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10
DOS commands
Scott Elliott
Internal / External Commands
Internal Command InternalCommands External Commands INTERNAL DOS COMMANDS Internal Commands are located in memory and do not require and further disk access when they are used. COPY, DEL, DIR, VER, TYPE, PRINT EXTERNAL DOS COMMANDS they reside on the DOS disk and require a disk access to be used CHKDSK, FORMAT, DISKCOPY ,MD,CD,RD FORMAT NEW DISKS MAY BE FORMATTED ALREADYOR NOT USING THE FORMAT COMMAND INITIALIZES; BY WRITING CODE ON IT TO ASSIGN TRACKS AND SECTORS WHERE YOUR DATA WILL BE STORED. FORMAT ERASES AND CHECKS OLD DISKS FOR ERRORS FORMAT A:/S/Q/U DIRECTORY THE DIR COMMAND IS AN INTERNAL DOS COMMAND USED TO LIST CONTENT DIR DIR/W DIR/P COPY COMMAND
THE COPY COMMAND MAKES A
SECOND COPY OF A FILE ONTO ANOTHER DESTINATION IF YOU WANT TO COPY SOMETHING FROM ONE DIRECTORY TO A DISK YOU MUST BE IN THAT DIRECTORY COPY DOES NOT ERASE THE ORIGINAL DEL OR ERASE REMOVES DATA WINDOWS 95 IS HELPFUL FOR THIS ONCE ERASED , A FILE CANNOT BE RECOVERD UNLESS USE A SPECIAL UTILITY LIKE NORTON UTILITIES TYPE LIST OR TYPES THE CONTENTS OF A FILE ON THE SCREEN USEFUL FOR ; BAT, TXT, MKDIR(MD), CHDIR(CD) , RMDIR(RD) MD MAKES A DIRECTORY CD CHANGES DIRECTORY RD REMOVES A DIRECTORY EXAMPLES