中国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 20:12
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » [Help] Does anyone understand the contents of this autoexec.bat?
Printable Version  1,667 / 2
Floor1 jrbin Posted 2003-09-25 00:00
初级用户 Posts 13 Credits 143
Does anyone understand the contents of this autoexec.bat?
autoexec.bat

  @ECHO Off xmsdsk 51200 /y

  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

  %RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL

  LH %ramd%:\MSCDEX.EXE /D:cd01 /L:%CDROM%

  icopy %cdrom%:\windows %ramd%:\windows /h /s

  set CDROM=

  set LglDrv=

  letassig %ramd%=c:

  win
Floor2 xiaojun Posted 2003-09-28 00:00
银牌会员 Posts 499 Credits 2,202
It uses a memory-based virtual disk, then loads the CD-ROM drive, and copies the CD's windos directory to the virtual disk.
Floor3 lqhhxp Posted 2006-08-11 09:11
初级用户 Posts 21 Credits 46
Then it sets the virtual disk as drive C:.

This is a netizen's DIY AUTOEXEC.BAT for portable WINDOWS.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023