中国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-10-24 15:30
47,815 topics / 349,928 posts / today 0 new / 48,288 members
DOS疑难解答 & 问题讨论 (解答室) » How to implement automatically adjusting partition size with a DOS program???
Printable Version  13,827 / 98
Floor91 jsea123 Posted 2006-02-08 22:26
新手上路 Posts 3 Credits 10
It would be nice if there were return values to DOS.
Floor92 microbird Posted 2006-03-17 03:28
新手上路 Posts 2 Credits 4
Not bad, I think the best semi-automatic is fine!
It is suggested that customers can leave some space for themselves before proceeding!
Floor93 hzy Posted 2006-03-19 02:35
高级用户 Posts 135 Credits 578
Floor94 hzy Posted 2006-03-20 20:21
高级用户 Posts 135 Credits 578
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
Floor95 hzy Posted 2006-03-24 00:22
高级用户 Posts 135 Credits 578
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
Floor96 Climbing Posted 2006-03-24 09:13
铂金会员 Posts 2,753 Credits 6,964 From 河北保定
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.
Floor97 hotdog53 Posted 2006-09-09 23:00
新手上路 Posts 1 Credits 2
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.
[email protected]
Floor98 chainliq Posted 2006-09-10 01:20
高级用户 Posts 244 Credits 635 From 广西贵港
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~!
Floor99 dugusuo Posted 2010-03-15 16:05
新手上路 Posts 4 Credits 12
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 … 4 5 6 7
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023