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-07-23 21:01
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » How to add the path of a portable hard drive to a boot disk, and how should it be specified? View 1,135 Replies 4
Original Poster Posted 2003-11-29 00:00 ·  中国 河南 安阳 联通
银牌会员
★★★
Credits 1,186
Posts 334
Joined 2003-05-30 00:00
23-year member
UID 2626
Gender Male
Status Offline
Can USB portable hard drives and USB flash drives use parameter assignment like virtual drives and CD-ROMs?
For a CD-ROM drive you use %CDROM%, for a virtual drive you use %RAMD%, there isn't any such general parameter for a USB flash drive, right?
How can I define one myself?
Experts, please clear this up for me
Floor 2 Posted 2003-11-30 00:00 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
It seems there isn't this kind of software, but it can be handled through a batch file. The basic idea is: intercept the drive-letter information displayed by the USB driver, set a variable, OK?
DOS之家 http://doshome.com 站长 葛明阳
Floor 3 Posted 2003-11-30 00:00 ·  中国 河南 安阳 联通
银牌会员
★★★
Credits 1,186
Posts 334
Joined 2003-05-30 00:00
23-year member
UID 2626
Gender Male
Status Offline
The poster above is the expert from DOS Home, right?
I go there often to take a look.
Could you teach me how to set it in autoexec.bat
Please help me, OK?
Floor 4 Posted 2003-12-01 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Are you using the DI1000DD.SYS driver for the USB flash drive? Do you mean you want to manually specify the drive letter of the USB flash drive?
Wengier - 新DOS时代

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

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

Floor 5 Posted 2003-12-01 00:00 ·  中国 北京 科技网
银牌会员
★★★
颓废青年
Credits 2,265
Posts 721
Joined 2003-05-12 00:00
23-year member
UID 2032
Gender Male
Status Offline
I think it means setting the variable %usbhd%, then automatically getting the drive letter of the USB flash drive. But I still don't know how to do it.
Forum Jump: