The LABEL command is used to create, change, or delete the volume label of a disk. The volume label of a disk is displayed as part of the directory listing along with the volume serial number, if exists.
LABEL [drive:] [label]
Drive: The location of the disk to be named.
Label The new volume label.
None Displays current disk label, if they exist. Prompts to enter a new label or delete the existing one
MD (or MKDIR)
Creates a directory. MD and MKDIR are synonymous do the same tasks.
MD [path] directoryname
The MORE command reads standard input from a pipe or redirected file and displays one screen of information at a time. This command is commonly used to view long files, directory output, etc.
MORE [path] filename
MORE < [path] filename
command | MORE [path] [filename]
command a command whose output is to be displayed.
Filename file(s) to display one screen at a time
MORE filename and MORE < filename are synonymous and equivalent to TYPE filename | MORE. In all these cases filename is displayed a screenful at a time. Pressing "Enter" displays the next screen. The display can be terminated at any time by pressing Ctrl-C. MORE automatically wraps text to fit the screen.
Let us consider an example of a big text file named BIGFILE.TXT. Now the following three commands will do the same task:
TYPE bigfile.txt | MORE
MORE < bigfile.txt
Moves files and directories from one location to another on the same or different drives.
MOVE [/Y | /-Y] [path] filename destination
/Y Suppresses prompting to confirm creation of a directory or overwriting of the destination. This is the default when MOVE is used in a batch file.
/-Y Forces a prompt to confirm creation of a directory or overwriting of the destination. This is the default when MOVE is used from the command line.
If more than one file is listed to be moved, destination path must be a directory and the files will retain their original names.
RD (or RMDIR)
Removes (deletes) an empty directory. RD and RMDIR are synonymous and do the same tasks.
RD [path] directoryname
If there is a backslash ( \ ) before the first directory name in path, that directory is considered a subdirectory of the root directory on the current drive. If there is no backslash before the first directory name in path, the directory is considered a subdirectory of the current directory.
Also RD will only delete an empty directory. If RD is used on a directory containing files and/or subdirectories, Error message is displayed by the computer.
|Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi
Publishers of the Book
Number of Pages
Price of the Book
BPB Publications, New Delhi, India
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)