Deleting Directories - Tandy 1000 MS-DOS Reference Manual

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

Chapter 2 / Organization Of Infornwtion
Here's what the structure looks like now:
file3.tst
file2.tst
Drive B Root (\)
I
I
file1.tst
I
MYDIR
I
newfile1.tst
Use DIR to see the name of the file in the new directory:
dir b:\mydir
[ENTERI
The screen shows:
Volume in drive B has no label
Directory of B:\MYDIR
<DIR>
1-01-80
12: 33a
<DIR>
1-01-80
12: 33a
NEWFILE1
TST
58
8-24-86
9:
07a
3 File(s) nnnnnn bytes free
You can use MKDIR to create a subdirectory of MYDIR, a sub-
directory of the new directory, and so on.
Note: See "Anonymous Directory Names" in this
chapter for an explanation of the. and .. symbols.
Deleting Directories
Before deleting a directory, first remove all files in that direc-
tory. Follow these steps:
1. Use the DIR command to see what files are in the
directory.
2. Use the COPY command to copy any files you may need
to another directory.
3. Use the ERASE command to remove all files from the
directory.
4. Use the RMDIR command to remove (delete) the
directory.
If there are subdirectories in the directory you wish to delete,
follow the previously described procedure for deleting these
directories.
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents