Professional Documents
Culture Documents
EDIT allows a user to view, create and or modify their computer files. To start the
Editor and load a file into memory, type edit followed by the name of the file
you want to edit.
Examples
edit c:\autoexec.bat Loads AUTOEXEC.BAT from the hard disk and allows the user
to view and modify it.
edit newfile.txt creates a new file named NEWFILE.TXT. This would bring up a
blank edit screen.
MOVE moves files or directories from one folder to another or from one drive to
another.
Examples
move c:\folderName\*.* c:\temp moves all the files of FOLDERNAME directory to
the TEMP directory
1
REN renames the file or directory you specify.
Examples
ren a:letters.doc numbers.num renames a file on the disk in drive A, changing its
name from LETTERS.DOC to NUMBERS.NUM
ren *.txt *.bak renames all text files to files with .bak extension
DELTREE deletes a directory and all the subdirectories and files in it.
Examples
deltree c:\myfiles Deletes the MYFILES directory and everything in it
FORMAT erases all of the information off of a computer diskette or fixed drive.
Examples
format a: Erases all the contents of a disk.
MD creates a new directory with the name you specify. You can also use
MKDIR to create a new directory
Examples
md direcName creates a new directory named DIRECNAME
RD removes (deletes) the specified directory. You can also use RMDIR to
remove a directory
Examples
rd direcName removes the DIRECNAME directory