Solved

msdos command line

Posted on 2000-04-29
2
1,032 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
ID: 2762928
Adjusted points from 75 to 200
0
 
LVL 3

Accepted Solution

by:
Dassa earned 200 total points
ID: 2763400
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

860 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