Go to the command prompt and type COMP and press return. You will be asked in turn for the files you want to compare.
Defrag
Defrag
DIR
The Del or Erase command in command prompt.
In Linux the chmod command is used to set file permissions.
The files are CONFIG.SYS and AUTOEXEC.BAT.
NIS
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.
The Cut command is used to
To delete all files from a diskette, you can use the command DEL *.* in the command prompt, which removes all files in the current directory. If you want to delete files without being prompted for confirmation, you can use DEL *.* /Q. Alternatively, you can format the diskette using the command FORMAT A: (assuming A: is the drive letter), which will erase all files and prepare the diskette for new data.
Dos commands are used to create or delete directories. The ATTRIB Command is used for locking and unlocking of files.