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-06-30 19:03
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to write a batch script to automatically change the hard disk partition table? View 1,643 Replies 9
Original Poster Posted 2003-06-13 00:00 ·  中国 安徽 合肥 电信
初级用户
Credits 162
Posts 16
Joined 2003-06-03 00:00
23-year member
UID 3240
Gender Male
Status Offline
Dear friends, I would like to ask a question: How to write a batch file to change the hard disk partition table?
Floor 2 Posted 2003-06-13 00:00 ·  中国 广东 佛山 禅城区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
First of all, you need to have a tool to modify the hard disk partition table.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 3 Posted 2003-06-13 00:00 ·  中国 安徽 合肥 电信
初级用户
Credits 162
Posts 16
Joined 2003-06-03 00:00
23-year member
UID 3240
Gender Male
Status Offline
Can you be more specific? What kind of tool? Where can I get it?
Floor 4 Posted 2003-06-17 00:00 ·  中国 广东 佛山 禅城区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
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.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 5 Posted 2003-06-17 00:00 ·  中国 江苏 无锡 电信
高级用户
★★
Credits 616
Posts 187
Joined 2003-04-18 00:00
23-year member
UID 1598
Gender Male
Status Offline
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?
Floor 6 Posted 2003-06-17 00:00 ·  中国 湖北 武汉 蔡甸区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Please ask the moderator to move this post.
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 7 Posted 2003-06-17 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Okay~~
MSN:tiqit2@hotmail.com
Floor 8 Posted 2006-11-02 09:31 ·  中国 北京 鹏博士BGP
初级用户
Credits 22
Posts 5
Joined 2006-09-18 22:58
19-year member
UID 62990
Gender Male
Status Offline
I also want to try it out. Could it be that the hard drive is broken?
Floor 9 Posted 2006-11-03 20:05 ·  中国 广东 广州 电信
初级用户
Credits 88
Posts 45
Joined 2006-11-03 02:41
19-year member
UID 69367
Gender Male
Status Offline
Just passing by, Flash guy
Floor 10 Posted 2006-11-03 23:43 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Forum Jump: