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 12:39
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » miniTO Single Program DPT/DBR/FAT/CMOS Multi-function Maintenance Tool View 26,891 Replies 230
Floor 136 Posted 2007-04-20 10:52 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Originally posted by 0451lym at 2007-4-20 10:47:
Just got it from Feifan, share it with you!

It seems irrelevant to the topic.
Windows 一键还原
http://www.yjhy.com
Floor 137 Posted 2007-04-20 13:19 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
It has basically been improved according to everyone's requirements:

Corrected the remaining space display error of the super-large FAT32 partition
Removed the remaining space display of NTFS
Removed the volume number, drive letter number
Added () or =
Removed the words "UNREADY" when the partition is unformatted or has problems

It has been updated, see the first post..
Thanks for your support and participation...
Floor 138 Posted 2007-04-20 13:43 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Mine is FAT, and the volume label under DOS is displayed as "USBHDD-BOOT"

If the volume label is entered under DOS, it can be displayed. But if it is set in Windows, it may not work because it might be written in the frontmost space of this partition as a file name and possibly recorded in Windows' evil registry. Generally speaking, it is difficult for DOS to read..
Floor 139 Posted 2007-04-20 13:46 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
0451lym BZ did a good job!
Give some encouragement...
I initially thought it was software, but it showed my hard disk!
Keep up the good work!
Floor 140 Posted 2007-04-20 22:01 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
2:1 = J: LOGICAL NO NO 07 NTFS/HPFS 76308 4095
3:1 = D: PRIMARY YES NO 04 FAT16(<32M) USBHDD-BOOT 962 1915

There is an error in the remaining space for these two lines. I was running the program under IFS equal version. One is NT, and the other is a USB flash drive!

Just now, I tested again. The remaining space for NT in the parenthesis version is empty, but the USB flash drive still has 1915. The remaining space is larger than the actual capacity!

Really sorry. Recently, I have been being fussy all the time, always troubling you!
Thank you again, hard work!!!!

[ Last edited by 0451lym on 2007-4-21 at 12:29 AM ]
Floor 141 Posted 2007-04-21 00:30 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
What's going on?
It seems okay here.
I'll download it to DOS and take a look..
Also, I had a misunderstanding about the volume label created in WIN. DOS should be okay, and I'm working on it.
Floor 142 Posted 2007-04-21 00:46 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
The volume label of the USB flash drive is indeed a bit strange!

Volume in drive D is USB Flash Drive
Volume Serial Number is 0008-C8A8

3:1 = D: PRIMARY YES NO 04 FAT16(<32M) USB Flash Drive 962 1915


"USB" was the volume label I created under DOS, and then I recreated a "USB Flash Drive" label under XP. After returning to DOS, the above result appeared!

[ Last edited by 0451lym on 2007-4-21 at 12:50 AM ]
Floor 143 Posted 2007-04-21 01:17 ·  中国 广东 深圳 福田区 电信
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
Don't dare to use it
……
Floor 144 Posted 2007-04-21 01:27 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
I'm sorry,
The NTFS issue was due to sending the wrong file.
The issue with the remaining space on the USB drive was actually a FAT16 issue because when making changes, I modified the FAT32 one and forgot to modify the FAT16 one. Now both have been corrected.

Corrected, see the first post.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Also, the issue with the volume label is as follows:
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
There are two volume labels:
One is LABEL in the DBR, which can be created through LABEL.
The other is VOL created in Windows (it seems DOS can't create it), and it's saved as a file entry with no content in front of the cluster that can be used as much as possible.
Strangely, both LABEL and VOL in DOS can be recognized (I don't know if it's because it's MS-DOS 7.1 in Windows 98, because logically, DOS can't create it, so it should also not be able to recognize it).

Moreover, both LABEL and VOL first look for VOL, and if VOL is not found, then look for LABEL.

The same point between the two is that both are only 11 bytes.

I'm adding the function to display VOL...

[ Last edited by GOTOmsdos on 2007-4-21 at 01:30 AM ]
Floor 145 Posted 2007-04-21 01:35 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
I'm really sorry. Recently I've been making a lot of comments and bothering you all the time! Thank you again, you've worked hard!!!!


Giving feedback is support. If someone cares and tests it, the program author is naturally honored. It's no problem to be a bit bothered or tired.
Floor 146 Posted 2007-04-21 02:00 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
The problem of the remaining space on the U disk has been solved, but the one with the equal sign version still has issues.
The result of running after mounting the IFS driver, the parenthesis version is normal, and the remaining space of NT in the equal sign version is incorrect!
There is also a small problem that the volume label of my 1:5 partition is empty, why doesn't it show "NO NAME"

N:N : PRI/LOG ACT HIDE ID FILE SYSTEM LABEL TOTALmb FREEmb
1:1 = C: PRIMARY YES NO 0B FAT32 NO NAME 5130 2719
1:2 = E: LOGICAL NO NO 0B FAT32 NO NAME 5130 1154
1:3 = F: LOGICAL NO NO 0B FAT32 NO NAME 4110 2643
1:4 = G: LOGICAL NO NO 0B FAT32 NO NAME 4102 882
1:5 = H: LOGICAL NO NO 0B FAT32 31525 21863
1:6 = I: LOGICAL NO NO 0B FAT32 软件备份 26317 3140
2:1 = J: LOGICAL NO NO 07 NTFS/HPFS 76308 2047
3:1 = D: PRIMARY YES NO 04 FAT16(<32M) USB 962 957


N:N : PRI/LOG ACT HIDE ID FILE SYSTEM LABEL TOTALmb FREEmb
1:1 (C:) PRIMARY YES NO 0B FAT32 NO NAME 5130 2719
1:2 (E:) LOGICAL NO NO 0B FAT32 NO NAME 5130 1154
1:3 (F:) LOGICAL NO NO 0B FAT32 NO NAME 4110 2643
1:4 (G:) LOGICAL NO NO 0B FAT32 NO NAME 4102 882
1:5 (H:) LOGICAL NO NO 0B FAT32 31525 21863
1:6 (I:) LOGICAL NO NO 0B FAT32 软件备份 26317 3140
2:1 (J:) LOGICAL NO NO 07 NTFS/HPFS 76308
3:1 (D:) PRIMARY YES NO 04 FAT16(<32M) USB 962 957

[ Last edited by 0451lym on 2007-4-21 at 02:04 AM ]
Floor 147 Posted 2007-04-21 02:23 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
Put forward a suggestion, it's better to just remove the volume label item, because under DOS after mounting IFS, using VOL can also obtain the volume label value! Also, the remaining space of the NT partition is still very important, because when backing up the system, the value of the remaining space needs to be obtained for judgment!

Using PSI to display the partition table can display the remaining space value of the NT partition, and I suspect it has something to do with mounting HDPMI32.EXE, not sure if that's right.

The command to display partitions with PSI:
ECHO LIST>LIST.INI
HDPMI32.EXE
PSI LIST.INI

The situation of the NT partition displayed by PSI:
Disk 1:
N L Type FS Size Active Hidden Label Used Free
0 Primary Free 7.8 MB
1 Extended 74.5 GB
2 Logical NTFS 74.5 GB No No iU霖 66.4 GB 8.2 GB
Floor 148 Posted 2007-04-21 02:55 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
The version in parentheses is normal, but the equal sign version has an error in the remaining space of NT!
??
I have already corrected everything.
Strange,
I'll go check again!
The remaining space of NTFS cannot be solved for now...
Floor 149 Posted 2007-04-21 03:12 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
It has been recompiled and uploaded....
Floor 150 Posted 2007-04-21 03:18 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Another small problem is that the label of my 1:5 partition is empty, why doesn't it show "NO NAME"?


There was originally nothing in it
凡是 that shows NO NAME originally had something in it
This may be related to different formatting tools
‹ Prev 1 8 9 10 11 12 16 Next ›
Forum Jump: