![]() |
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 16:12 |
47,813 topics / 349,903 posts / today 1 new / 48,257 members |
| DOS疑难解答 & 问题讨论 (解答室) » [Help] Want to copy some files (folders) from the CD-ROM to the hard disk after GHOST! |
| Printable Version 1,128 / 1 |
| Floor1 yuchen1515 | Posted 2009-09-21 11:43 |
| 新手上路 Posts 3 Credits 9 | |
|
In the GHOST software image file on a typical GHOST CD, there are two batch files that complete the GHOST work! The batch files are as follows:
——————————autoexec.bat———————— @ECHO OFF SHSUCDX /D:?PATACD01 /D:?SATACD01 /D:?SATACD02 /D:?SATACD03 findcd /s>nul call findcdr "ghost.exe" C D E F G H I J K L M N O P Q R S T U V W X Y Z %CDROM%: ghost -nousb -clone,mode=pload,src=HHsp3.gho:1,dst=1:1 -crcignore -sure -fx grub --config-file="root (hd0,0);chainloader +1" ————————————FINDCDR.BAT—————————— @echo off set file=%1 :FCDR if "%CDROM1%"=="%2:" goto SCDR shift goto FCDR :SCDR cda %2:>nul IF errorlevel 1 goto next if not exist %2:\%FILE% goto next set cdrom=%2 goto end :next if "%2"=="Z" goto end shift goto SCDR :end —————————————————————— When the two batch files above run, they get the drive letter of the CD-ROM, but not the drive letter of the hard disk. The system files are copied using GHOST.exe!!! Now I want, after GHOST is completed, to copy a few more files from the CD to the first partition of the hard disk. How can I do that...... Please give me some pointers, experts!!! Thanks!!!! |
|
| Floor2 gmy | Posted 2009-10-06 16:53 |
| 版主 Posts 392 Credits 1,113 | |
|
The rough idea is:
If the system partition is NTFS, you need to load NTFS4DOS Determine the drive letter of the system partition based on a characteristic file Copy the files from the CD to the system partition |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |