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-25 21:12
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to implement automatically adjusting partition size with a DOS program??? View 11,492 Replies 98
Floor 91 Posted 2006-02-08 22:26 ·  中国 广西 北海 电信
新手上路
Credits 10
Posts 3
Joined 2006-01-13 21:23
20-year member
UID 48940
Status Offline
It would be nice if there were return values to DOS.
Floor 92 Posted 2006-03-17 03:28 ·  中国 广西 南宁 江南区 电信
新手上路
Credits 4
Posts 2
Joined 2006-03-17 02:43
20-year member
UID 52234
Status Offline
Not bad, I think the best semi-automatic is fine!
It is suggested that customers can leave some space for themselves before proceeding!
Floor 93 Posted 2006-03-19 02:35 ·  中国 广东 肇庆 端州区 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
22-year member
UID 6709
Gender Male
Status Offline
Floor 94 Posted 2006-03-20 20:21 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
22-year member
UID 6709
Gender Male
Status Offline
Originally posted by walu at 2004-3-20 12:00 AM:
Thanks, Brother Climbing! I waited for you all morning today and finally got your help. I spent the whole morning trying to figure it out, but I can't. Well, I'm a computer illiterate and also English illiterate.
This script just... after testing just now...

Why is there no response when I run this script here?

The statements in the batch file:

pqmagic /cmd=pq.pqs


The content of pq.pqs is as follows: (There is 2.0G of unallocated space at the end of the hard disk)

Select disk 1
Select Unallocated Largest
Create /FS=FAT32 /Size=GetUnallocatedSize
Floor 95 Posted 2006-03-24 00:22 ·  中国 广东 肇庆 端州区 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
22-year member
UID 6709
Gender Male
Status Offline
The PQS script is as follows, which can realize automatic partitioning. But I don't know why when using this script to partition, after installing IBM's one - key restore program, the extended partition becomes "Type15" (turns yellow in PQ)! When partitioning manually with PQ and installing IBM's one - key restore program, there is no problem!

Select Disk 1
Select Partition First
Dim NeedSize
NeedSize = GetUsedAmount / 2 + 500
Select Partition Last
If GetUnusedAmount < NeedSize then
Select Partition First
End If
Resize Space After NeedSize
Select Unallocated After Selected Partition
Create /FS=FAT32 /LABEL="IBM_SERVICE"
Unhide
Convert To Primary
Floor 96 Posted 2006-03-24 09:13 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Originally posted by hzy at 2006-3-24 00:22:
The PQS script is as follows, which can realize automatic partitioning. But I don't know why after using this script to partition and installing IBM's one-key restoration program, the extended partition becomes "Type15" (turned yellow in PQ)? Manually partition with PQ..


Personal feeling, the partition script you wrote should not have any major problems, but I haven't installed IBM's one-key restoration program. For the problem you mentioned, it may be a problem with IBM's one-key restoration program.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 97 Posted 2006-09-09 23:00 ·  中国 上海 静安区 电信
新手上路
Credits 2
Posts 1
Joined 2006-08-07 22:17
19-year member
UID 60063
Status Offline
Can you also send me a copy of this partition software for the DOS version? I would be very grateful. I have been looking for it for a long time and can't find it.
q520112@163.com
Floor 98 Posted 2006-09-10 01:20 ·  中国 广西 贵港 电信
高级用户
★★
学无尽止
Credits 635
Posts 244
Joined 2006-04-15 05:07
20-year member
UID 53857
Gender Male
From 广西贵港
Status Offline
Oh, not bad, it's best to come out. I think we should start with the question of how long this should stay when partitioning~!
Floor 99 Posted 2010-03-15 16:05 ·  中国 湖北 襄阳 电信
新手上路
Credits 12
Posts 4
Joined 2010-03-11 16:08
16-year member
UID 162009
Gender Male
Status Offline
How to use PQ's parameter command to merge partitions, that is, merge the last two partitions of the hard disk, and merge the second-to-last partition into the last partition...
‹ Prev 1 5 6 7
Forum Jump: