中国DOS联盟论坛

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-18 12:14
47,814 topics / 349,908 posts / today 1 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » How to write a batch script to automatically change the hard disk partition table?
Printable Version  1,691 / 9
Floor1 wangqingfu Posted 2003-06-13 00:00
初级用户 Posts 16 Credits 162
Dear friends, I would like to ask a question: How to write a batch file to change the hard disk partition table?
Floor2 MYS Posted 2003-06-13 00:00
元老会员 Posts 1,637 Credits 5,170 From 广东佛山
First of all, you need to have a tool to modify the hard disk partition table.
Floor3 wangqingfu Posted 2003-06-13 00:00
初级用户 Posts 16 Credits 162
Can you be more specific? What kind of tool? Where can I get it?
Floor4 MYS Posted 2003-06-17 00:00
元老会员 Posts 1,637 Credits 5,170 From 广东佛山
There are quite a few, such as DISKEDIT in the NU and PCTOOLS suites, or various software that support direct sector editing like DISKTOOL, etc. However, modifying the partition table is very dangerous.
Floor5 wglwx Posted 2003-06-17 00:00
高级用户 Posts 187 Credits 616
There are software that can automatically change the hard disk partition table: GDISK.
It can be operated with a batch file.
However, all data on the hard disk will be completely destroyed.
I don't know why the original poster wants to do this.

Maybe the original poster's intention is to restore the partition table when the hard disk has a fault.
Then, this topic is incorrect.
It should be: How to write a batch file to automatically save and restore the hard disk partition table?
Floor6 如是大师 Posted 2003-06-17 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Please ask the moderator to move this post.
Floor7 Dark-Destroy Posted 2003-06-17 00:00
元老会员 Posts 3,551 Credits 8,312
Okay~~
Floor8 frend Posted 2006-11-02 09:31
初级用户 Posts 5 Credits 22
I also want to try it out. Could it be that the hard drive is broken?
Floor9 abcdos Posted 2006-11-03 20:05
初级用户 Posts 45 Credits 88
Just passing by, Flash guy
Floor10 不得不爱 Posted 2006-11-03 23:43
超级版主 Posts 2,044 Credits 5,310 From 四川南充
Why is this still being bumped? Be careful of getting points deducted
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023