![]() |
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-15 18:03 |
47,813 topics / 349,903 posts / today 1 new / 48,258 members |
| DOS疑难解答 & 问题讨论 (解答室) » [Urgent] How to write a batch file for "Refresh Restore Wizard"! |
| Printable Version 843 / 3 |
| Floor1 pizigao | Posted 2003-06-11 00:00 |
| 银牌会员 Posts 292 Credits 1,063 | |
|
My batch file doesn't work; it can't be called out from virtual memory (it just jumps out)!!! Do I need to modify CONFIG.SYS?????
=================================================== (1) @ECHO OFF tw /np >nul cls echo. echo Important note: this operation can only be used with "AWARD" BIOS, and there must be more than 40K available capacity!! echo. echo The "Restore Wizard" module is about to be transplanted into the BIOS. This operation involves some risk, so please be cautious! echo. echo To confirm execution, press " Y "; to cancel, press " N " set get= get c " Continue? : " yn if "%get%" == "Y" goto _y if "%get%" == "N" goto _n goto _end :_y set temp=%RAMD%:\ set tmp=%RAMD%:\ XXCOPY /E /H /Z /YY %CDROM%:\BOOT\stdp %RAMD%:\TEMP > NUL %RAMD%: CD \TEMP stdp.bat set temp=C:\ set tmp=C:\ :_n MENU :_end MENU (2) awd temp temp.bin /pn /sy >nul if not exist temp.bin goto end cbrom temp.bin /isa stdp.dat awd temp.bin /py /sn /r >nul :end cls echo. echo BIOS FLASH FAIL !!!!! echo Press any key !!!!!!! echo. tw /u >nul PAUSE > NUL menu ==================================================== Explanation: (2) is the "stdp.bat" in (1) |
|
| Floor2 pizigao | Posted 2003-06-11 00:00 |
| 银牌会员 Posts 292 Credits 1,063 | |
|
Isn't anyone answering???
|
|
| Floor3 雨浪飘零 | Posted 2003-06-23 00:00 |
| 中级用户 Posts 95 Credits 364 | |
|
Sorry, my skill level is limited. I can only see that one line has a problem:
%RAMD%: CD \TEMP stdp.bat /*CALL STDP.BAT should be used here*/ set temp=C:\ set tmp=C:\ |
|
| Floor4 pizigao | Posted 2003-06-24 00:00 |
| 银牌会员 Posts 292 Credits 1,063 | |
|
Thanks!!! I'll try it first!!!
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |