Professional Documents
Culture Documents
Answer
C A:
Directories
give us a good facility to
arrange our files especially when we have
a large number of files.
DIR Command
Math111 Math113
The FORMAT Command
Format is an external command,
therefore the file format.com should
be available.
If you have two drives:
A:\> FORMAT b: <RET>
insert new diskette for drive B:
and strike any key when ready
The FORMAT Command
Formatting …. Format complete
math111 programs
basic
Removing Directories
C:\> CD B:\prog\basic
B: \ ===> prog ====> basic
C:\> CD \sub1\sub2
C: \ ===> sub1 ===> sub2
A:\> CHDIR
displays the path to the current directory
A:\> chdir b:
displays the path to the current directory on drive
b:
C:\NT4.0> cd ..
goes one level up in the directory hierarchy (i.e.
goes to the directory NT4.0)
C:\nt4.0\profiles> cd \
DEL [Drive:][path]
[Filename[.ext]]
A:\> del a.dat
deletes a file called a.dat from drive a:
REN [Drive:][Directory]
filename1 filename2
A:\> REN x.dat y.dat
Changes the name of the file called x to y
TYPE [DRIVE:][Directory]
Filename[.ext]
C:\> Type a.dat
Displays the contents of a file called
a.dat
C:\Type a:file.doc
Displays the contents of a file called
file.doc which is stored on drive a:
The Edit Command