Instructions for using prompt and restore commands

Source: Internet
Author: User
Tags time and date

Prompt setup prompt

[Applicable] when you get bored with the c: \> prompt or you want to make your prompt different, you can
Try the very interesting doscommand to display the time and date at any time.

[Usage] prompt $ p $ G uses the current directory name and> as the prompt, which is the most common prompt

Prompt $ t indicates the time prompt $ D indicates the date

Prompt $ prompt $ q =

Prompt $ V indicates the current version of prompt $ L <

Prompt $ B | prompt $ h indicates the return character.

Prompt $ e Represents the character prompt $ _ represents the line feed

[Example] c: \ dos> prompt Wang $ g use Wang> as the prompt

Wang> prompt $ T $ d $ g use the time, date, and> number as the prompt

0:01:07. 77thu 08-29-1996> prompt $ p $ G

C: \ dos>

Restore restore backed up Files

[Suggestion] If you have used backup for file backup before, you can use it to restore the original file when it is damaged.
File.

Restore the files on the disk backed up by the BACKUP command to another disk and back up the files on the disk.
There should be two files, backup.00x and control.00x.

[Usage] restore [backup drive letter] [target drive letter]

Restore the backup file on the backup disk to the specified disk.

Restore/s restores all backup files, including subdirectories, to the specified disk.

Restore/P allows users to determine whether to restore files

Restore/B: files before date recovery

Restore/A: files after the date recovery date

Restore/L: files before the time recovery time

Restore/E: files after recovery time

Restore/m only restores files modified after the last backup

Restore/n only restores files deleted after the last backup

Restore/d only displays the file name to be restored

[Example] c: \ dos> restore a: C:
Insert backup diskette 01 in drive:
Press any key to continue...

Put the first backup disk in drive a and press any key. After the first backup disk is restored, press
In sequence.

Use the following command to restore files:

C: \ dos> restore a: C: \/S

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.