For example:
echo Press any key to continue
pause >nul
echo Press any key to continue
pause >nul
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
ImageIt 3.1.06.01(Demo) - Super Backup & Recover Tool
(C) Copyright by WASAY, 1998-2003
Everyone must have used or heard of the one-key recovery of Qixiu and others. This is a Chinese graphical interface system backup and recovery program.
A long time ago, someone thought about how to make its main program run under DOS, but I searched the entire network and didn't find any answers and useful information, and then I put this thing aside. Last night, I accidentally thought of playing with it again, and as a result, I finally succeeded in doing fully automatic backup and recovery under DOS using the command line.
Now I will talk about some command usage methods I have obtained. Of course, what I said is only part of the functions. There are two command functions that I don't know how to use (/CRE /ACT), so wait for all the masters to study:
ImageIt 3.1.06.01 - Super Backup & Recover Tool
(C) Copyright by WASAY, 1998-2003
Usage:
ImageIt <HardDisk> </Options>
/STATUS
/WIPE
/DEL{:part| ALL}
/CRE {SZ:size1 ]]|perc1 ]]}
/FOR{:part| ALL}
/ACT
/BACK{:part| ALL} ]]]
/RECO{:part| ALL}
/HIDE
/MBR
/NODETAILS
/MOUSE
/Y
/R
/SHUTDOWN
For more information, see ReadMe.TXT
The above are all the command parameters of its functions.
1. Backup to drive D, the backup file name is DDD.EG, the batch command is:
it hd0 /back:1 file:d:\ddd /Y /NODETAILS /r
2. Restore from the backup file DDD.EG on drive D to the first partition of the first hard disk:
it HD0 /RECO:1 file:d:\DDD /Y /NODETAILS /r
You can run IT.COM under DOS to get command help.
/CRE {SZ:size1 ]]|perc1 ]]}
Obviously, this parameter is used to create partitions. The command line of this imageit is a bit similar to gdisk. SZ: means the size of the partition to be created (directly specify the size, for example, SZ:3072m, or use the percentage method directly without the SZ parameter (that is, the subsequent perc? parameters, perc means percent).
/ACT
This is used to set the active partition. ACT is Activate. The subsequent parameter part is the number of the partition, and -ACT means cancel the activation.