![]() |
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-18 09:11 |
47,814 topics / 349,907 posts / today 0 new / 48,259 members |
| DOS疑难解答 & 问题讨论 (解答室) » Then, can a friend help make such a batch processing~ |
| Printable Version 2,121 / 7 |
| Floor1 ilovetridi | Posted 2006-08-27 00:38 |
| 初级用户 Posts 23 Credits 70 | |
|
I want to make it so that as long as I put the CD into any CD drive, the GHOST file on the CD will automatically run and restore to the C drive. How should I do it?
|
|
| Floor2 namejm | Posted 2006-08-27 01:25 |
| 荣誉版主 Posts 1,737 Credits 5,226 From 成都 | |
|
Putting an autorun.inf file on the CD can achieve the intention of the thread starter.
|
|
| Floor3 ilovetridi | Posted 2006-08-27 13:37 |
| 初级用户 Posts 23 Credits 70 | |
|
Oh, it's about achieving it after DOS boots up. Hehe, I'm sorry I didn't make it clear.
|
|
| Floor4 fujianabc | Posted 2006-08-27 14:17 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
|
There is no CD auto-run function in DOS.
|
|
| Floor5 ilovetridi | Posted 2006-08-28 08:56 |
| 初级用户 Posts 23 Credits 70 | |
| Floor6 fastslz | Posted 2006-08-28 10:31 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
CONFIG.SYS content
DEVICE=HIMEM.SYS /TESTMEM:OFF /Q DEVICE=UMBPCI.SYS DEVICE=QCDROM.SYS /D:IDE-CD /UF /L DEVICEHIGH=RAMDRIVE.SYS /E 4096 SHELL=COMMAND.COM /E:1024 /P /F DOS=HIGH,UMB,AUTO FCBSHIGH=4,0 FILESHIGH=30 BUFFERSHIGH=20,0 STACKSHIGH=9,256 LASTDRIVEHIGH=Z AUTOEXEC.BAT content @ECHO OFF PROMPT $P$G SET EXPAND=YES SET DIRCMD=/OGN /4 cls PATH=A:\;%CDROM%:\;%RAMD%:\ 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% COPY COMMAND.COM %RAMD%:\>NUL SET COMSPEC=%RAMD%:\COMMAND.COM COPY /Y A:\SHCDX33A.COM %RAMD%:\>NUL COPY /Y A:\DOSKEY.COM %RAMD%:\>NUL COPY /Y A:\CTMOUSE.EXE %RAMD%:\>NUL COPY /Y %CDROM%:\GHOST.EXE %RAMD%:\>NUL %RAMD%: SHCDX33A.COM /D:IDE-CD /C LH DOSKEY>NUL LH CTMOUSE>NUL SET LglDrv= ghost.exe -clone,mode=pload,src=%CDROM%:\SYSTEM.gho:1,dst=1:1 -fro -sure -rb Reference posts http://www.cn-dos.net/forum/viewthread.php?tid=22581&fpage=1&highlight= http://www.cn-dos.net/forum/viewthread.php?tid=22781&fpage=1&highlight= |
|
| Floor7 ilovetridi | Posted 2006-08-28 18:49 |
| 初级用户 Posts 23 Credits 70 | |
|
Thanks to fastslz, I'm working on it.
|
|
| Floor8 chujiafu | Posted 2006-09-08 06:21 |
| 银牌会员 Posts 595 Credits 1,339 From 安徽 宿州 | |
|
Use Autoexec.bat.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |