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 15:03
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » [Help] A question about boot disks, help? View 664 Replies 2
Original Poster Posted 2003-09-21 00:00 ·  中国 浙江 绍兴 新昌县 电信
初级用户
Credits 189
Posts 27
Joined 2003-03-14 00:00
23-year member
UID 1131
Gender Male
Status Offline
A question about boot disks, help?

How do I set it up in autoexec.bat so that the *.CAB on drive a: is extracted with extract.exe into the RAM drive, and then automatically executes some command in the RAM drive?

How do I set it up so that a certain command can be executed on drive a: and in the RAM drive, while the command itself is not on that drive. Set it in autoexec.bat.

Please help, everyone!!!

Wengier, come take a look.
Floor 2 Posted 2003-09-21 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
22-year member
UID 7953
Gender Male
Status Offline
-------------------------------------1 Start
@ECHO OFF
FINDRAMD
EXTRACT /L %RAMDRIVE%:\ /A /E RAVDOS.CAB
%RAMDRIVE%:
RAVDOS
-------------------------------------1 End
-------------------------------------2 Start
@ECHO OFF
SET PATH=A:\;C:\;%RAMDRIVE%:\;%CDROM%:\
-------------------------------------2 End

As for exactly how to use it, that depends on what you're doing with it.
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 3 Posted 2003-09-22 00:00 ·  中国 浙江 绍兴 新昌县 电信
初级用户
Credits 189
Posts 27
Joined 2003-03-14 00:00
23-year member
UID 1131
Gender Male
Status Offline
Thanks
Forum Jump: