![]() |
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 10:37 |
47,813 topics / 349,903 posts / today 1 new / 48,257 members |
| DOS疑难解答 & 问题讨论 (解答室) » [fixed] Why does running ghost -dd from a batch file produce a 0-byte GHSTSTAT.TXT |
| Printable Version 1,563 / 0 |
| Floor1 bugs | Posted 2010-10-05 13:24 |
| 新手上路 Posts 13 Credits 18 | |
|
Autoexec.bat: @ECHO OFF PROMPT $P$G PATH=A:\;.. LFNFOR ON SET DIRCMD=/4 SET HDPMI=16384 MODE CON RATE=32 DELAY=1 LH KILLER LH DOSLFN LH HDPMI32 LH NDOS -LFN -MOUNTALL -CP:936 NDLIST - ECHO. ECHO Now you are in MS-DOS 7.10 prompt. ECHO. cls ghost -dd dir GHSTSTAT.TXT Running ghost -dd manually at the command line generates the file normally. Solved: although it shows as 0 bytes, type GHSTSTAT.TXT does show the contents! - -! [ Last edited by bugs on 2010-10-5 at 14:47 ] |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |