China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

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!

中国DOS联盟论坛
The time now is 2026-08-10 01:39
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » (Closed) How to cancel the arbitrary key wait in the partition backup and restore tool ImageIt View 3,043 Replies 23
Floor 16 Posted 2004-05-01 00:00 ·  中国 上海 鹏博士宽带
高级用户
★★
zhri
Credits 665
Posts 153
Joined 2004-02-23 00:00
22-year member
UID 18241
Gender Male
Status Offline
For example:

echo Press any key to continue
pause >nul
Floor 17 Posted 2004-05-01 00:00 ·  中国 山西 太原 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re huaqingyuan & zhri:

It seems that neither of you has carefully read my post on floor 9. Brother walu's question is actually not much related to the title he wrote. So, Brother huaqingyuan's method of using pipeline commands plus script files to automatically reply by pressing any key, and Brother zhri's method of implementing pause in batch processing are not helpful to the楼主's question. But still, thank you both for your care for the楼主and support for the forum!
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 18 Posted 2004-05-10 00:00 ·  中国 广西 桂林 电信
初级用户
Credits 162
Posts 14
Joined 2003-12-02 00:00
22-year member
UID 13658
Gender Male
Status Offline
Is it necessary to be so complicated? Use the KEYSTACK command in KPUSH or 4DOS to fill a key value into the keyboard buffer, such as 13
Floor 19 Posted 2005-10-24 13:46 ·  中国 山西 大同 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re All:

The ImageIt mentioned in the above text has been updated. At the invitation of Brother walu, the batch processing work has been done again, as shown in the attachment. However, it is to remove 9 pieces of keyboard IO interrupt code of cd 16.


ImageIt 3.1.06.01(Demo) - Super Backup & Recover Tool
(C) Copyright by WASAY, 1998-2003


[ Last edited by willsort on 2005-10-25 at 23:10 ]
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 20 Posted 2005-10-25 13:55 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
This is a dangerous software, somewhat like GHOST + partitioning + formatting + partCopy + backup + restore. Is there any further explanation? Novices should better not try it!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 21 Posted 2005-10-25 17:13 ·  中国 山西 临汾 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re Ben Shi:

ImageIt is also a backup and restore tool, but it is in command-line mode and integrates partition operation functions (equivalent to the functions of GDISK), but the backup and restore speeds are a bit slow. The following text is quoted from the Wuyou Boot Forum (http://bbs.wwwfox.net/cgi-bin/topic.cgi?forum=36&topic=24)

There are some different views on the wipe switch among them: From the literal meaning, it should mean erasing data, that is, zeroing the specified sectors, and it is hard to say how it is related to repair. The subsequent parameters use the typical CHS notation, that is, cylinder number, head number, and sector number.

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.


[ Last edited by willsort on 2005-10-25 at 17:24 ]
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 22 Posted 2005-10-25 19:10 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Thanks for the reply. Learned something new again!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 23 Posted 2005-10-25 23:09 ·  中国 山西 运城 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re All:

Just found the non-demo version of ImageIt 3.1.06.01 from the link of Wuyou Boot Forum mentioned on floor 21, and re-did the processing and uploaded it. The attachment on floor 21 is deleted, and this attachment can also be downloaded from the top floor (first post).
Attachments
it310601.rar (58.6 KiB, Credits to download 1 pts, Downloads: 68)
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 24 Posted 2008-10-07 23:32 ·  中国 广西 梧州 电信
新手上路
Credits 2
Posts 1
Joined 2008-10-07 23:11
17-year member
UID 127712
Gender Male
Status Offline
Is there a higher version available?
Forum Jump: