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-08-13 03:07
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Help with variables and batch file questions... View 891 Replies 2
Original Poster Posted 2003-12-22 00:00 ·  中国 重庆 电信
银牌会员
★★★
Credits 2,202
Posts 499
Joined 2003-06-12 00:00
23-year member
UID 4876
Gender Male
Status Offline
I need to write into a bat file the NTFS partition drive letter detected under DOS with chkntfs. In chkntfs %drive letter% , what should be used to represent this "drive letter"? It seems Findcd, %cdrom%\ , switches to the CD drive letter; thanks...!
一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— !
Floor 2 Posted 2003-12-23 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
This drive letter is the drive letter of the NTFS drive that CHKNTFS needs to check.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-12-23 00:00 ·  中国 重庆 电信
银牌会员
★★★
Credits 2,202
Posts 499
Joined 2003-06-12 00:00
23-year member
UID 4876
Gender Male
Status Offline
Yes, when ntfschk finds the drive letter, how should I write the next part so it will automatically continue checking this NTFS partition? How do I define this unknown NTFS drive letter found by ntfschk in ntfschk x, in this “x”? What should batch file use to represent this partition?


一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— !
Forum Jump: