![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-10 06:57 |
47,811 topics / 349,897 posts / today 2 new / 48,255 members |
| DOS批处理 & 脚本技术(批处理室) » [Closed]. How to make a batch processing for GHOST recovery after renaming .gho? |
| Printable Version 2,319 / 26 |
| Floor1 kookycy | Posted 2008-10-22 14:12 |
| 初级用户 Posts 32 Credits 41 | |
|
How to make a batch process to let GHOST restore after renaming .gho For example Rename .gho to .bak Directly use Ghost-clone,mode=pload,src=d:\ghost\sysbak.bak,dst=1:1 /sure /rb It seems not okay.
[ Last edited by kookycy on 2008-10-22 at 20:14 ] |
|
| Floor2 HAT | Posted 2008-10-22 14:17 |
| 版主 Posts 5,017 Credits 9,023 | |
| Floor3 lianjiang2004 | Posted 2008-10-22 14:20 |
| 金牌会员 Posts 1,884 Credits 3,946 | |
|
Renaming doesn't affect usage, no problems at all.
|
|
| Floor4 lianjiang2004 | Posted 2008-10-22 14:20 |
| 金牌会员 Posts 1,884 Credits 3,946 | |
|
Of course, the premise is that the command is not written incorrectly.
|
|
| Floor5 kookycy | Posted 2008-10-22 14:33 |
| 初级用户 Posts 32 Credits 41 | |
|
This should not be able to use the REN command under NTFS.
I mean when the disk is NTFS, usually it can't be seen under DOS.. Unless NTFSDOS is loaded [ Last edited by kookycy on 2008-10-22 at 16:00 ] |
|
| Floor6 kookycy | Posted 2008-10-22 14:36 |
| 初级用户 Posts 32 Credits 41 | |
Originally posted by HAT at 2008-10-22 14:17: Just add a renaming command in the batch? GHOST doesn't have such a parameter, right. Thanks. |
|
| Floor7 dato | Posted 2008-10-22 14:59 |
| 高级用户 Posts 377 Credits 916 | |
|
Ghost certainly supports renaming. At least renaming it to bak.gh is fine.
Ghost -clone,mode=pload,src=1:6\ghost\system1.gh:1,dst=1:1 -sure -rb 1:6 means the 6th partition of the first hard disk. system1.gh:1 means if it is the backup data of the first partition in the full disk backup, it doesn't matter if it's a single partition. But in the previous v8.3 v10.0.x series, there were differences in the identification of IDE dual hard disks. Forgotten. It seems that v8.3 identifies according to the BIOS hard disk boot sequence. And v10.0.x identifies according to the master-slave arrangement of the data cable. So when using dual hard disks, it is still advisable to be cautious with one-key restore tools unless you know what you are doing. |
|
| Floor8 HAT | Posted 2008-10-22 15:02 |
| 版主 Posts 5,017 Credits 9,023 | |
|
Who told you that NTFS doesn't support the ren command?
|
|
| Floor9 lianjiang2004 | Posted 2008-10-22 15:22 |
| 金牌会员 Posts 1,884 Credits 3,946 | |
|
In my GGhost one-click recovery, it's renamed by default, and I haven't heard of any problems.
For example: ghost -clone,mode=pload,src="1.4:\gghost..\sys.ggh:1",dst=1:1 -fx -sure -fro The owner can't use it because the command is wrong, not because of the extension problem. |
|
| Floor10 yishanju | Posted 2008-10-22 15:39 |
| 银牌会员 Posts 1,357 Credits 1,488 | |
Originally posted by HAT at 2008-10-22 15:02: His meaning is that NTFS is read-only under DOS and cannot be renamed. |
|
| Floor11 lianjiang2004 | Posted 2008-10-22 15:44 |
| 金牌会员 Posts 1,884 Credits 3,946 | |
Originally posted by yishanju at 2008-10-22 15:39:If it can't be renamed, it's just that the NTFS driver used is incorrect. Just change to one that supports write. The problem is, there's no need to rename at all. Hehe. |
|
| Floor12 kookycy | Posted 2008-10-22 15:58 |
| 初级用户 Posts 32 Credits 41 | |
Originally posted by HAT at 2008-10-22 15:02: Dude, you got it wrong. Although I'm very green, I'm not that weak. NTFS definitely supports REN. It just can't change the name. [ Last edited by kookycy on 2008-10-22 at 16:06 ] |
|
| Floor13 kookycy | Posted 2008-10-22 17:16 |
| 初级用户 Posts 32 Credits 41 | |
Originally posted by lianjiang2004 at 2008-10-20 15:22: Thanks... Your command is correct Why is there no such statement as 1.4: in the GHOST tutorial? |
|
| Floor14 kookycy | Posted 2008-10-22 17:21 |
| 初级用户 Posts 32 Credits 41 | |
|
Oh, dizzy... I tried 1:4 again and it works..
I also added GHO:1 before. Did I write the format wrong at that time.. - - |
|
| Floor15 lianjiang2004 | Posted 2008-10-22 17:25 |
| 金牌会员 Posts 1,884 Credits 3,946 | |
|
The new version format is 1.4, and it was 1:4 before, but both the 1.4 format and the 1:4 format are supported.
|
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |