LABEL
The LABEL instruction assigns a name to the specified diskette or hard disk.
Syntax
LABEL d :
Where,
LABEL : Name
d : : Drive letter
Example
C:\>LABEL (press enter key)
It allows you to change the volume label of your hard disk.
Displaying the directory structure of a disk
TREE
The TREE command produces an overview on the screen of all directories and file names on the hard disk or diskette.
Syntax
TREE [d:][/F][/A]
Where,
TREE : Produces the entire directory structure of the disk. Stop the display by pressing the pause key. Continue by pressing a random key.
d : drive to which the command applies.
/F : to display the file names
/A : the lines between the sub directories are displayed using text characters instead of graphic signs.
Example
C:\>TREE ( press enter key )
It shows the directory and sub directory (directory tree structure) of Hard disk.
Note : The display is discontinued using Ctrl-C.
No comments:
Post a Comment