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-24 09:28
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » What does the expand=yes line in autoexec.bat mean? View 1,581 Replies 2
Original Poster Posted 2003-10-21 00:00 ·  中国 广东 揭阳 电信
初级用户
Credits 105
Posts 1
Joined 2003-10-21 00:00
22-year member
UID 11632
Gender Male
Status Offline
When making a boot disk, the first part of autoexec.bat is:
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
cls
call setramd.bat %LglDrv%
set temp=c:\
set tmp=c:\
path=%RAMD%:\;a:\;%CDROM%:\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy readme.txt %RAMD%:\ > NUL
But I don't know what expand=yes means. Hope some friend can point it out! Many thanks.
Floor 2 Posted 2003-10-21 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
These are all lines from some old boot disks, and they're already outdated, so it doesn't matter if you leave them out.
Wengier - 新DOS时代

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

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

Floor 3 Posted 2004-04-24 00:00 ·  中国 湖北 武汉 电信
初级用户
Credits 127
Posts 7
Joined 2004-04-12 00:00
22-year member
UID 22376
Gender Male
Status Offline
Brother OP:
I'm puzzled by the same thing too.
If you ever get it figured out someday,
let little brother me know too.
My QQ number is:78302055
Forum Jump: