Technical data
Managing a DOS File System
303561-A Rev 00
5-13
Creating a Directory
Use the
mkdir
command to create a new directory. Enter the following to create a
new directory, where
<dir_name>
is the new directory name you are creating, and
<pathname>
is the name of the path to that directory:
mkdir \
<pathname>
\
<dir_name>
Examples:
Removing a Directory
Use the
rmdir
command to remove an existing directory. The directory must be
empty before it can be removed. Enter the following to remove a directory, where
<dir_name>
is the directory name you are removing, and
<pathname>
is the name
of the path to that directory:
rmdir \
<pathname>
\
<dir_name>
Examples:
mkdir logs
Creates a new subdirectory called
logs
mkdir \logs\L_6_23
Creates a new subdirectory called
L_6_23
in the path
called
logs
rmdir \logs\L_6_23
Deletes the subdirectory called
L_6_23
in the logs path
rmdir logs
Deletes the subdirectory called
logs