RAZ Dad Posted September 5, 2005 Posted September 5, 2005 Hi DearI have used Drive Snapshot to creat an image of my system, I have Automated the restore by use AutocEXE.bat file, as soon as you restart the computer the disk inside the drive it automaticaly start restoring the system in DOS.but after restore it do not display any message in DOS to tell the user it has successfully has resdtored the computer.Can you please help me, which type of file I have to add in my disk to be excuted by AutocEXE.bat in order to display a message after restore.thanks for your help
agonified Posted September 5, 2005 Posted September 5, 2005 Hi again RAZ Dad You can put these at the end of your autoexec.bat;...............echo The image is succesfully restored!pause........
RAZ Dad Posted September 5, 2005 Author Posted September 5, 2005 Hi again RAZ Dad You can put these at the end of your autoexec.bat;...............echo The image is succesfully restored!pause........<{POST_SNAPBACK}>Thnaks for your for your help.I added your command at the end of my Autoexec.bat but result is as followingA:\>.....Bad Command or File nameA:\>.....Bad Command or File nameA:\>.....Bad Command or File nameA:\>echo The image is succesfully restored!The image is succesfully restored! ( 2 times repeat the message)A:\>pausePress any key to continueThanks to see where is the problem
agonified Posted September 6, 2005 Posted September 6, 2005 ehuehuheuhe man! just put the meaningful lines, not dots.. if you put the "@echo off" at the beginning of your autoexec.bat without the quotes, your batch will be much better..I mean your autoexec.bat should be similar to this;@echo off[your restoring codes]echo The image is succesfully restored!pausehope this helps..
Asin Posted September 6, 2005 Posted September 6, 2005 (edited) Remove the lines with "....."agonified only put those there to signify the other commands in your AutocEXE.bat file.Remove all the newly added lines and add only these two lines to that file at the end:ECHO The image is successfully restored!PAUSEEDIT: agonified beat me to it. Edited September 6, 2005 by Asin
RAZ Dad Posted September 6, 2005 Author Posted September 6, 2005 Thank you very much it worked perfect.another question how can I add EXIT Command to restart the computer.thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now