中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-13 04:01
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Help with variables and batch file questions...
Printable Version  894 / 2
Floor1 xiaojun Posted 2003-12-22 00:00
银牌会员 Posts 499 Credits 2,202
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...!
Floor2 Wengier Posted 2003-12-23 00:00
系统支持 Posts 10,521 Credits 27,736
This drive letter is the drive letter of the NTFS drive that CHKNTFS needs to check.
Floor3 xiaojun Posted 2003-12-23 00:00
银牌会员 Posts 499 Credits 2,202
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?


[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023