Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

msdos command line

Posted on 2000-04-29
2
Medium Priority
?
1,052 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:martinoliver
ID: 2762928
Adjusted points from 75 to 200
0
 
LVL 3

Accepted Solution

by:
Dassa earned 800 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

688 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