External Commands - III


UNDELETE :
It recovers the file or files from the current or specified drive or path.
Syntax : Undelete [Drive :] [Path] [File name /File spec] [/list :/AII ] :/ Purge [Drive :] : /s [Drive :]
: /T [Drive :] Entries: /Load :/ Unload :/ Status]


/LIST:
List solves the files that are recoverable as found on the current or specified drive.


ALL:
Recovers all the files found on the disk without prompting for conformation.


/PURGE :
Purges all the files that are found on the deletion Control directory.


/s :
Specifies to use deletion entry control method of recovery of the files.


/T:
Specifies to deletion tracks control method of recovery of the files.


/LOAD:
loads the undeletion program for deletion protection


/UNLOAD :
Unloads the deletion program from the memory.


/STATUS :
Display the current status of the undelete program.


/D:
Display the file names on the back up disk but doesn't restore them.


/M:
Restores only those files that were modified since the last back up was mode.


/N:
Restores only those files that were deleted since the last back up.


/P:
Prompts to conform the restoration of files that were changed since the last backup or marked as read only


/S:
Restores the files in the sub directories nested below the target directory.


EDIT:
This is used to Edit the text files.
Syntax : Edit
Ex : A:\> Edit


DELETE:
It is used for Deleting an entire directory. It will delete the hidden files all.
Syntax: DELTREE [ DRIVE: ] [ PATH] DIRECTORIES [IY].


MODE:
It Controls the mode of the display.


SYS:
Transforms the system files to the target disk from the Specified or Current directory.

The system files are IO-Sys. MS-DOS Sys. Command-Sys. Drive space, Bin ( Binary files ). These files are used for the process of booting or to make a disk bootable.
Syntax: Sys [Drive:1] [Path] [Drive :2]


MOVE:
This Command is used to move a file or a group of files. It is also used to Rename a directory. The target directory does not exist it is created by this command and it exist the files are transferred to the specified target directory.
Syntax : MOVE [ Drive: ] [ Path ] [ File name /File spec]

[TargetDrive ] Path [File name / File spec ]


ATTRIB : This Command displays, sets and delete the file attribute of a file or a group of files.
Syntax : ATTRIB [ +A : -A ] [ +R : -R ] [ +S : -S ] [ +H : -H ]
[ Drive: ] [ Path] [ File name / File spec]
A: Archive Attribute
R: Read only Attribute
S.: System Attribute
H: Hidden Attribute
+: Sets the Attribute
- : Deletes the Attribute


RESTORE:
Restores the files from a back up diskette that were back up using the back up program or command. The restore Command required two parameters the Source drive where the files are located.
The Target drive is to where the files are restored DOS assumes the currently logged Sub directory as the target directory.
Syntax : Restore Source Target
Drive: Drive: [ Path]
File spec [/A : MM-DD-YY ] [/B : MM-DD-YY]
[/E: HH : MM : SS ] [ /L : HH : MM : SS ] { /P ] [/M] [ /N ] [ /S ]
[/A : MM - DD - YY ] : Forces the restoration of files that were modify on or after the specified date.
[/B : MM - DD - YY ] : Forces the restoration of files that were modify on or before the specified date
[/E : HH - MM - SS ] : Forces the restoration of files that were modify at or after a specified time.
[/  : HH - MM - SS ] : Forces the restoration of files that were modify at or earlier than the specified  date on file.



0 comments:

Post a Comment

Recommended Articles

 
Contact Form