Solved

msdos command line

Posted on 2000-04-29
2
999 Views
Last Modified: 2012-06-27
I am editting an autoexec.bat file for a Win98 (Symantec Ghost) boot CD and would like to know the msdos command line that allows me to reboot the computer....IE

ghost.exe -clone,mode=load,src=y:homepc.gho,dst=1 -ntil -sure -quiet
cls
echo                 *****************************************
echo                
echo                              Please remove the CD from the drive
echo                
echo                 *****************************************
echo.
PAUSE
"THIS FINAL COMMAND"........thanks for your help!!
0
Comment
Question by:martinoliver
2 Comments
 

Author Comment

by:martinoliver
Comment Utility
Adjusted points from 75 to 200
0
 
LVL 3

Accepted Solution

by:
Dassa earned 200 total points
Comment Utility
The -RB switch forces Ghost to restart the computer at the end of the restore process.  You would just need to make sure the cd isn't bootable.  An alternative would be to include instructions for the user to press CTRL-ALT-DELETE.

You could also create a little debug program to reboot the system and call it at the end of your batch file.  There is actually no DOS command to force a reboot.

The following is a line you can use to force the reboot, you may need to make sure you have the debug program on the disk.

ECHO G=FFFF:0000 ¦ DEBUG

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now