LABEL MORE MOVE RD RMDIR reads standard input from a pipe or redirected file and displays one screen of information at a time, view long files, directory output, moves files and directories MS DOS

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

LABEL

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.

Syntax:

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.

Syntax:

MD [path] directoryname

MORE

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.

Syntax:

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
MORE < bigfile.txt

MOVE

Moves files and directories from one location to another on the same or different drives.

Syntax:

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.

Syntax:

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.

Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

Next page
 
 
Data Recovery Book
 
Chapter 1 An Overview of Data Recovery
Chapter 2 Introduction of Hard Disks
Chapter 3 Logical Approach to Disks and OS
Chapter 4 Number Systems
Chapter 5 Introduction of C Programming
Chapter 6 Introduction to Computer Basics
Chapter 7 Necessary DOS Commands
Chapter 8 Disk-BIOS Functions and Interrupts Handling With C
Chapter 9 Handling Large Hard Disks
Chapter 10 Data Recovery From Corrupted Floppy
Chapter 11 Making Backups
Chapter 12 Reading and Modifying MBR with Programming
Chapter 13 Reading and Modifying DBR with Programming
Chapter 14 Programming for “Raw File” Recovery
Chapter 15 Programming for Data Wipers
Chapter 16 Developing more Utilities for Disks
Appendix Glossary of Data Recovery Terms
 
 
Pro Data Doctor

Home

Products

Contact Details

Customer Support

Download Demo

Terms and Conditions

 
Pro Data Doctor