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:27
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Disk sector reading and writing, partition information management tool Dsptw (updated on 2008.11.29) View 112,562 Replies 565
Floor 451 Posted 2008-12-22 22:05 ·  中国 广西 河池 电信
中级用户
★★
Credits 252
Posts 97
Joined 2006-09-17 12:00
19-year member
UID 62869
Gender Male
Status Offline
Diskrw.com is a disk sector reading and writing program.
Dpit.com is a partition information management tool.
Dspt.com is a combined version of the above two.
I have been using dspt and rarely use diskrw, so I might mix up these parameters?
Floor 452 Posted 2008-12-25 23:09 ·  中国 北京 海淀区 联通
新手上路
Credits 2
Posts 1
Joined 2008-12-23 00:29
17-year member
UID 134681
Gender Male
Status Offline
Finally found the tool to back up PBR
Floor 453 Posted 2008-12-31 01:13 ·  中国 江苏 常州 电信
新手上路
Credits 0
Posts 7
Joined 2008-01-08 14:01
18-year member
UID 107986
Gender Male
Status Offline
Thanks a lot, great stuff
Floor 454 Posted 2009-01-05 14:57 ·  中国 广东 汕头 潮阳区 电信
高级用户
★★★
DOS时空
Credits 713
Posts 348
Joined 2007-02-10 13:59
19-year member
UID 79169
Gender Male
Status Offline
Floor 455 Posted 2009-01-10 22:45 ·  中国 湖北 黄冈 联通
初级用户
Credits 36
Posts 16
Joined 2006-04-05 21:53
20-year member
UID 53392
Status Offline
What a good thing!
Just dsptw 0 /l /getid combined with For can do a lot of things.
If only the hidden partition can be assigned a drive letter it would be nice, please big, how to in the command line to achieve the hidden partition assigned a drive letter?
Floor 456 Posted 2009-01-10 23:31 ·  中国 福建 泉州 电信
新手上路
Credits 2
Posts 1
Joined 2008-10-04 10:35
17-year member
UID 127375
Gender Male
Status Offline
Let's see, is the last link the latest version?
Floor 457 Posted 2009-01-11 02:12 ·  中国 广西 河池 电信
中级用户
★★
Credits 252
Posts 97
Joined 2006-09-17 12:00
19-year member
UID 62869
Gender Male
Status Offline
Hero, can you update the DSPT for DOS? (Related to W32 amphibious)

There are two problems with dspt for DOS: Partition 12 is shown as unknow type, so it can't be unhidden either.
Also, Changetype is not supported.
Floor 458 Posted 2009-01-15 13:16 ·  中国 山东 青岛 阿里云
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
Originally posted by 19951001 at 2008-11-29 12:45 PM:
Add a switch /GetID to display the partition ID value (applicable to /L and /find commands)

Usage:
dsptw 0 /l /getid

dsptw 0 /find:all /getid


Does this version support the version compatible with GGHOST's requirement to prevent anti-virus software from mistakenly killing? Is there any time limit for this version?

Because I am preparing to update to the next version of one-key GHOST.

[ Last edited by gmy on 2009-1-15 at 13:17 ]
DOS之家 http://doshome.com 站长 葛明阳
Floor 459 Posted 2009-01-15 14:26 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
I wonder if there is a relatively simple way to directly save the contents of an entire partition to a file?
QQ:366840202
http://chenall.net
Floor 460 Posted 2009-01-16 15:08 ·  中国 安徽 淮南 电信
初级用户
Credits 50
Posts 15
Joined 2005-10-02 01:15
20-year member
UID 43053
Status Offline
Judging partition information is mainly applied in DOS. Hope the landlord will update the DOS version of dspt as soon as possible to make it have the same functions as the dspt Windows version. Looking forward.

[ Last edited by adiwdmd on 2009-1-16 at 23:05 ]
Floor 461 Posted 2009-01-18 19:07 ·  中国 广东 佛山 电信
新手上路
Credits 17
Posts 9
Joined 2005-08-02 07:18
20-year member
UID 41269
Status Offline
There is a bug in the latest DSPT amphibious version:
Executing the following command under Windows can normally display all partition information, but it cannot be displayed under DOS
dspt /a /pdr
Floor 462 Posted 2009-02-03 13:57 ·  中国 浙江 宁波 慈溪市 电信
新手上路
Credits 2
Posts 1
Joined 2008-12-21 15:10
17-year member
UID 134537
Gender Male
Status Offline
Good tool. Thanks the LZ!
Floor 463 Posted 2009-02-10 19:44 ·  中国 辽宁 大连 联通
新手上路
Credits 2
Posts 1
Joined 2009-02-10 02:36
17-year member
UID 138457
Gender Male
Status Offline
Not easy, it's too powerful
Floor 464 Posted 2009-02-12 01:53 ·  中国 四川 绵阳 电信
初级用户
Credits 70
Posts 29
Joined 2006-01-03 06:17
20-year member
UID 48342
Gender Male
Status Offline
Very good stuff... Keep up the good work... Thanks
Floor 465 Posted 2009-02-16 18:52 ·  中国 辽宁 大连 联通
新手上路
Credits 18
Posts 8
Joined 2009-02-10 02:08
17-year member
UID 138456
Gender Male
Status Offline
The number of total sectors is 1048576. The last sector is 1048576 - 1 = 1048575. So 1048575 is obtained by subtracting 1 from the total number of sectors which is 1048576.

For the part about how to subtract 1 in DOS, in DOS you can use some batch processing methods. For example, if you have the number in a variable, you can use arithmetic operations in batch scripts. But generally, DOS has limited arithmetic capabilities compared to modern systems. However, you can use external tools or write simple batch logic to achieve the subtraction. But the specific implementation depends on the exact environment and the way you are handling the data.
‹ Prev 1 29 30 31 32 33 38 Next ›
Forum Jump: