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 06:14
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Disk sector reading and writing, partition information management tool Dsptw (updated on 2008.11.29) View 112,560 Replies 565
Floor 286 Posted 2007-08-14 14:11 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 295
Posts 70
Joined 2003-07-24 00:00
22-year member
UID 7462
Gender Male
Status Offline
Is there any way to determine several hard drives (including USB drives)?

[ Last edited by cba-xyz on 2007-8-14 at 02:12 PM ]
Floor 287 Posted 2007-08-15 19:18 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Originally posted by cba-xyz at 2007-8-14 14:11:
Is there a way to determine how many hard drives (including USB drives)?

[ Last edited by cba-xyz on 2007-8-14 at 02:12 PM ]


There is no way to determine the number of hard drives in the program, but you can use batch processing to determine the number of hard drives
Floor 288 Posted 2007-08-15 19:47 ·  中国 江苏 常州 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
The LZ once said that now it seems that solving the problem of DOS drive letters for loading NTFS4DOS and IFS is redundant! Because there is MINITO? I don't think so! I don't know if there will be a breakthrough in this regard, looking forward to it very much! Also, now there are many users with multiple hard drives (including USB drives), and it is necessary to handle multiple hard drives, I think! Of course, it's just personal opinion, what are everyone's suggestions?

[ Last edited by terse on 2007-8-15 at 07:48 PM ]
Floor 289 Posted 2007-08-15 20:19 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
I have given up using minito, and look forward to dspt getting better and better.
Windows 一键还原
http://www.yjhy.com
Floor 290 Posted 2007-08-15 21:59 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Update at the first floor diskrw, fixed a bug in disk comparison;

Here is an updated version of dspt, added disk editing function, did not add disk comparison function, after adding, the file is no longer in com structure, but becomes Exe structure, using an array of 16K size, if disk comparison function is added, the same size array will be added, the entire program will not be limited within 64K when running

[ Last edited by 19951001 on 2008-2-18 at 01:08 AM ]
Attachments
DSPT.rar (17.6 KiB, Downloads: 340)
Floor 291 Posted 2007-08-15 22:10 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
I want to conduct a survey here and listen to the opinions of netizens:

Is it to make the program a single program, becoming an EXE structure dspt.exe?

Or make the program into two COM structure programs, diskrw.com and dpit.com?

In terms of the increase in requirements, mainly partition information management, and not too many requirements have been put forward for disk reading and writing functions.

Of course, my own opinion is to separate the program into two. I wonder what everyone's opinion is?

[ Last edited by 19951001 on 2007-8-15 at 10:30 PM ]
Floor 292 Posted 2007-08-16 00:25 ·  中国 江苏 常州 溧阳市 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
Originally posted by lianjiang2004 at 2007-8-15 20:19:
I have given up using minito and look forward to DSPT getting better and better.

After all, minito can recognize and load the DOS drive letter after IFS. I also tried the early version of DSPT, but since it didn't have this function, I gave it up. May I ask, what does lianjiang2004 use now to recognize and load the DOS drive letter after IFS? Ghost?
Floor 293 Posted 2007-08-16 17:31 ·  中国 浙江 杭州 电信
初级用户
★★
Credits 108
Posts 51
Joined 2007-05-15 16:37
19-year member
UID 88613
Gender Male
Status Offline
Why do I use the latest version of 8.15, and I have also tried previous versions.
Typing dspt 1 /find:all
Cannot display the drive letter of the NTFS partition.
(Only IFS or NTFSpro are loaded, and it's like this)
(Is it because there is a USB flash drive with 1 HDD and a hard disk? I booted with the USB flash drive)

No. Drv Type Volume PartType Act Offset Sectors MBytes
1:1 D: Primary C DOS_FAT16 Yes 63 4192902 2047
1:2 Logic HPFS/NTFS 4193028 12578832 6142
1:3 Logic Program HPFS/NTFS 16771923 20964762 10236
1:4 Logic Data HPFS/NTFS 37736748 40403412 19728
Floor 294 Posted 2007-08-16 21:26 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Currently, NTFS and drive letters generated by IFS are not supported.
Floor 295 Posted 2007-08-16 22:06 ·  中国 浙江 杭州 电信
初级用户
★★
Credits 108
Posts 51
Joined 2007-05-15 16:37
19-year member
UID 88613
Gender Male
Status Offline
Originally posted by 19951001 at 2007-8-16 09:26 PM:
Currently, NTFS and IFS generated drive letters are not supported.


Building an DSPT that supports NTFS and IFS, come on, LZ!
Spiritually fully supporting~~ ^_^
Was there a previous version of DSPT that supported IFS? I seem to have seen someone post a log generated by DSPT with the characters "NTFS" in the previous few posts.
Floor 296 Posted 2007-08-16 22:40 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Originally posted by terse at 2007-8-16 00:25:

After all, minito can recognize the DOS drive letters after loading IFS. DSPT also tried it in very early versions, but since it didn't have this function, it was abandoned. May I ask lianjiang2004 what you are using to recognize and load the DOS drive letters after IFS now? Ghost?

Now I am obtaining hard disk information under Windows, and according to the requirements, I generate a temporary custom batch file, which is called under DOS.
In addition to the custom backup and recovery under Windows in the previous version of gghost, it adds a function of automatically backing up to the special directory of the last partition under DOS. At this time, the partition information is obtained by dpit. The function of drive letters after IFS is not used.
Windows 一键还原
http://www.yjhy.com
Floor 297 Posted 2007-08-16 22:56 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Because I use partition numbers, so drive letters in DOS are not very meaningful to me. The compatibility of minito seems to have problems. After reporting the problem, the author didn't respond at all, so I had to give up. After all, compatibility is the top priority.
Windows 一键还原
http://www.yjhy.com
Floor 298 Posted 2007-08-17 08:48 ·  中国 浙江 杭州 电信
初级用户
★★
Credits 108
Posts 51
Joined 2007-05-15 16:37
19-year member
UID 88613
Gender Male
Status Offline
If the partition number and the drive letter can be in one - to - one correspondence under DOS. Then, for example, by searching for \windows\regedit.exe to determine the location of the original XP system drive. In this way, using ghost to restore should be 100% reliable. It's a pity that there is currently no tool that fully supports finding drive letters. minito always shows illegal instruction on my computer. DSPT doesn't support NTFS for the time being. Sad....
Floor 299 Posted 2007-08-17 09:12 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
In DOS environment, you can determine by loading NTFS drivers (such as IFS, etc.), searching for characteristic files, and combining with information such as the active partition, and there will be no problems.
Windows 一键还原
http://www.yjhy.com
Floor 300 Posted 2007-08-19 11:22 ·  中国 中电华通
新手上路
Credits 4
Posts 2
Joined 2007-08-16 19:47
18-year member
UID 95268
Gender Male
Status Offline
Nice tool, strong support
‹ Prev 1 18 19 20 21 22 38 Next ›
Forum Jump: