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 08:37
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Disk sector reading and writing, partition information management tool Dsptw (updated on 2008.11.29) View 112,590 Replies 565
Floor 226 Posted 2007-06-16 22:25 ·  中国 河北 邯郸 联通
中级用户
★★
Credits 223
Posts 59
Joined 2005-05-23 00:00
21-year member
UID 39002
Gender Male
Status Offline
Floor 227 Posted 2007-06-16 22:41 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
gdisk is okay, but it doesn't seem ideal. I still prefer dspt.
Windows 一键还原
http://www.yjhy.com
Floor 228 Posted 2007-06-17 09:24 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Originally posted by lianjiang2004 at 2007-6-16 19:43:


You can upload to my cloud disk. I will create a temporary directory for uploading.
Directory dpit_test_win32 Password 123456, you can upload files after authentication.


Uploaded already
Floor 229 Posted 2007-06-17 12:23 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Report:
I can normally obtain the corresponding relationship between hard disk partitions and drive letters using dpr.
But there is no display result when using dsptw /a /dpr.
Using dsptw 0 /l is also normal.
Please check.
Windows 一键还原
http://www.yjhy.com
Floor 230 Posted 2007-06-17 13:46 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Originally posted by lianjiang2004 at 2007-6-17 12:23:
Report:
I can normally obtain the correspondence between hard disk partitions and drive letters using dpr.
But there is no display result when using dsptw /a /dpr.
Using dsptw 0 /l is also normal.
Please check.


It's not /dpr but should be /pdr

dsptw /a /pdr


The /dpr parameter is to restore the partition information stored in the last cluster of the disk

If you want to obtain disk information consistent with ghost, use the command:
dsptw 1 /find:all /ghostsytle
It is to display the information of the first hard disk, and this parameter is purely set for compatibility with Ghost

[ Last edited by 19951001 on 2007-6-17 at 01:52 PM ]
Floor 231 Posted 2007-06-17 19:06 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Originally posted by 19951001 at 2007-6-17 13:46:


It's not /dpr but /pdr.
dsptw /a /pdr

The /pdr parameter recovers the partition information stored in the last cluster of the disk.

To obtain disk information consistent with Ghost, use the command:
dspt ...

I'm sorry, I made a typo when posting. I entered dsptw /a /pdr.
dsptw 1 /find:all /ghostsytle is normal.
The test image is posted in my cloud disk, and I can't upload attachments here. Please help take a look. Thanks.
Windows 一键还原
http://www.yjhy.com
Floor 232 Posted 2007-06-17 20:20 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Originally posted by lianjiang2004 at 2007-6-17 19:06:

I'm sorry, I entered dsptw /a /pdr, but I made a typo when posting.
dsptw 1 /find:all /ghostsytle is normal.
The test image is posted in my cloud disk, and I can't upload attachments here. Please help take a look. Thanks.


This is the result of execution on my machine, no problem. My machine is an AMD CPU

D:\c\newdsptw>dsptw /a /pdr
Disk Sector Reader/Writer & Partition Tools for Win32
This is beta version, On 2007-7-15 Program Will Expired
Recommand Backup your Disk, Before using the Program !

Press any to continue ...


No. Drive Active VolumeLabe Total (Mb) Free (Mb)
1:1 C: A WINXP 29989 2859
1:2 D: DATA 29996 1401
1:3 E: WIN2003 29996 16470
1:4 G: ISO 29996 17232
1:5 H: movie 29996 3360
1:6 I: DATA_1 29996 21845

I will upload the latest version for you to try.
Modifications from the previous version:
dsptw 0 /l does not display large extended partitions by default
dsptw 0 /l /ext can display extended partitions

Added direct modification function for disk sectors

Using dsptw 1 /find:all /ghostSytle to display partition numbers consistent with Ghost, removing the total extended partition

[ Last edited by 19951001 on 2007-6-17 at 11:03 PM ]
Floor 233 Posted 2007-06-17 20:31 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Originally posted by 19951001 at 2007-6-17 20:20:


This is the result of execution on my machine, no problem. My machine is an AMD CPU

D:\c\newdsptw>dsptw /a /pdr
Disk Sector Reader/Writer & Partition Tools for Win32
This is beta version ...

Thanks, I'll go take a look.
Windows 一键还原
http://www.yjhy.com
Floor 234 Posted 2007-06-17 20:40 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Tested the new version, still no display.
No abnormalities were found in other parameters.
But dpr.exe is normal.
Using dsptw 1 /find:all /ghostSytle also works, but multiple hard drives cannot be displayed at once.
Windows 一键还原
http://www.yjhy.com
Floor 235 Posted 2007-06-17 20:50 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Originally posted by lianjiang2004 at 2007-6-17 20:40:
Tested the new version, still no display.
No abnormalities found in other parameters.
But dpr.exe is normal.
Using dsptw 1 /find:all /ghostSytle also works, but you can't display multiple hard drives at once.


I'll check the program again to see where the problem is
Floor 236 Posted 2007-06-17 21:03 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
to lianjiang2004:

Please check what the return code of the program is.
Floor 237 Posted 2007-06-17 21:13 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
to lianjiang2004:
I have uploaded another version, please test dsptw0617.rar, you can delete other versions
Floor 238 Posted 2007-06-17 21:49 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Originally posted by 19951001 at 2007-6-17 21:03:
to lianjiang2004:

Please check what the return code of the program is.

How to check?

Also, dsptw c: /pdr

dsptw d: /pdr are both normal.
Windows 一键还原
http://www.yjhy.com
Floor 239 Posted 2007-06-17 21:51 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Windows 一键还原
http://www.yjhy.com
Floor 240 Posted 2007-06-17 21:52 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
The new version still doesn't work.
Windows 一键还原
http://www.yjhy.com
‹ Prev 1 14 15 16 17 18 38 Next ›
Forum Jump: