![]() |
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-12 10:26 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » [Help] Question about autoexec.bat |
| Printable Version 1,237 / 1 |
| Floor1 blackjack | Posted 2003-05-11 00:00 |
| 初级用户 Posts 2 Credits 109 | |
|
I recently bought a Wuyou boot disk. While studying how it boots, I ran into some questions. I hope all the experts here can help explain them. There are some lines in the autoexec.bat file that I don't understand what they mean.
@ECHO OFF PROMPT $P$G set temp=c:\ set tmp=c:\ 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 call setramd.bat %LglDrv% path=%RAMD%:\;%RAMD%:\BAT;%CDROM%:\;%CDROM%:\UCDOS;%CDROM%:\BOOT;A:\;C:\; copy get.exe %RAMD%:\ > NUL copy attrib.exe %RAMD%:\ > NUL copy command.com %RAMD%:\ > NUL copy edit.com %RAMD%:\ > NUL copy format.com %RAMD%:\ > NUL copy fdisk.exe %RAMD%:\ > NUL copy deltree.exe %RAMD%:\ > NUL copy restart.com %RAMD%:\ > NUL copy readme.exe %RAMD%:\ > NUL copy mouse.* %RAMD%:\ > NUL copy xxcopy.exe %RAMD%:\ > NUL rem copy extract.exe %RAMD%:\ > NUL set comspec=%RAMD%:\command.com LH MSCDEX.EXE /D:MSCD000 /L:%CDROM% CDA %CDROM% > NUL IF errorlevel 1 GOTO NEXTCD IF NOT EXIST %CDROM%:\BOOT\TW.EXE GOTO NEXTCD GOTO BOOT :NEXTCD CALL CHCDROM.BAT C D E F G H I J K L M N O P Q R S T U V W X Y Z GOTO BOOT :BOOT LH SMARTDRV.EXE LH DOSKEY.COM > NUL Set LglDrv= MD %RAMD%:\TEMP XXCOPY /E /H %CDROM%:\BOOT\EBD %RAMD%:\ > NUL %RAMD%: CD \ LH MOUSE.COM > NUL MENU.BAT The lines I don't understand are as follows: 1、 SET EXPAND=YES 2、 SET DIRCMD=/O:N 3、 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 4、 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 |
|
| Floor2 如是大师 | Posted 2003-05-11 00:00 |
| 元老会员 Posts 3,351 Credits 9,654 From 湖北 | |
|
Please post this in the Batch File Diagnosis section.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |