![]() |
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-10-28 03:52 |
47,815 topics / 349,929 posts / today 1 new / 48,290 members |
| DOS启动盘 & LOGO技术 (启动盘室) » Can a Ghost boot disk automatically eject the current CD after finishing the job? |
| Printable Version 3,939 / 32 |
| Floor1 coastline | Posted 2005-09-29 12:39 |
| 初级用户 Posts 20 Credits 41 | |
|
Dear DOS experts:
By learning from this forum, I made a Ghost restore boot CD. First of all, thank you. Now I have another question: After it finishes the restore task, I want it to automatically eject and then reboot the system. Can this be done? Does Ghost have such a parameter? Is there such a DOS program? Thanks! I found some DOS programs on the forum, but they all eject the first CD-ROM drive. Is there one that ejects the second (slave) CD-ROM drive? Or eject a CD-ROM drive specified by a parameter, such as: open %CDROM1%,OPEN %CDROM2% Thanks again! [ Last edited by coastline on 2005-9-29 at 13:36 ] |
|
| Floor2 chujiafu | Posted 2005-10-02 08:56 |
| 银牌会员 Posts 595 Credits 1,339 From 安徽 宿州 | |
|
I have an Eject command here. It can eject all CD-Rom drives. You can add this to a batch file: Eject Wait 5 Reboot. That means after ejecting the CD-ROM drive, let the system wait 5 seconds and then reboot. If you think 5 seconds is too short, you can change it to 10 or some other number.
|
|
| Floor3 chzhlh | Posted 2005-10-06 04:20 |
| 初级用户 Posts 8 Credits 154 | |
|
Eject — reboot — then the CD-ROM drive closes the tray again automatically == ejecting has no effect
Making a boot CD that will automatically switch to booting from the hard disk if there is no keyboard input within the default time is the real solution. |
|
| Floor4 quan_zhou | Posted 2005-10-06 10:13 |
| 初级用户 Posts 40 Credits 190 | |
|
Hi chujiafu
Eject doesn't seem to be an internal command. Could you upload one? I searched and they all seem to be for Winodws. Thanks! |
|
| Floor5 passion | Posted 2005-10-07 16:47 |
| 中级用户 Posts 51 Credits 281 | |
|
I have a tool here for opening and closing CDs. Hope you like it http://passionwq.ys168.com
|
|
| Floor6 coastline | Posted 2005-10-08 00:22 |
| 初级用户 Posts 20 Credits 41 | |
| Floor7 JonePeng | Posted 2005-10-08 20:18 |
| 金牌会员 Posts 1,883 Credits 4,562 From 广东广州 | |
| Floor8 coastline | Posted 2005-10-09 11:34 |
| 初级用户 Posts 20 Credits 41 | |
| Floor9 不得不爱 | Posted 2005-10-09 12:52 |
| 超级版主 Posts 2,044 Credits 5,310 From 四川南充 | |
|
That's a bit difficult.
|
|
| Floor10 coastline | Posted 2005-10-09 14:24 |
| 初级用户 Posts 20 Credits 41 | |
Originally posted by qwe1234567 at 2005-10-9 12:52: ![]() ![]() Brother, here's a challenge for you!Because I saw your interest: DOS and batch programming I have an xx laptop. On its recovery CD there is a PREINST.GHO file. When opened with Ghost Explorer under Windows, it requires a password, but when the machine is rebooted with this CD, no password is needed. I figure there must be something going on in the bat file... I also crawled out of the DOS era and like DOS too ![]() ... I didn't believe I couldn't crack it, but in the end I still couldn't ... My level is limited; after all, this is only the primary stage of socialism ![]() Actually, it's not really for anything else, I just want to figure out how it does that... I'm attaching the file. If you're interested and have time, would you take a look? Please forgive me if this is presumptuous! Attachments BOOTIMG.part1.rar (200 KiB) |
|
| Floor11 coastline | Posted 2005-10-09 14:25 |
| 初级用户 Posts 20 Credits 41 | |
|
Attachments BOOTIMG.part2.rar (200 KiB) |
|
| Floor12 coastline | Posted 2005-10-09 14:26 |
| 初级用户 Posts 20 Credits 41 | |
|
Attachments BOOTIMG.part3.rar (124.1 KiB) |
|
| Floor13 不得不爱 | Posted 2005-10-09 16:25 |
| 超级版主 Posts 2,044 Credits 5,310 From 四川南充 | |
|
I'll solve it right away!
|
|
| Floor14 不得不爱 | Posted 2005-10-09 16:53 |
| 超级版主 Posts 2,044 Credits 5,310 From 四川南充 | |
|
Are some files missing?
|
|
| Floor15 不得不爱 | Posted 2005-10-09 17:13 |
| 超级版主 Posts 2,044 Credits 5,310 From 四川南充 | |
|
TOOLS.IMG is missing
|
|
| 1 2 3 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |