September 5, 200520 yr 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
September 5, 200520 yr Hi again RAZ Dad You can put these at the end of your autoexec.bat;...............echo The image is succesfully restored!pause........
September 5, 200520 yr Author 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
September 6, 200520 yr 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..
September 6, 200520 yr 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, 200520 yr by Asin
September 6, 200520 yr Author Thank you very much it worked perfect.another question how can I add EXIT Command to restart the computer.thanks
Create an account or sign in to comment