Jump to content

Message for completion ob Rstore


RAZ Dad

Recommended Posts

Hi Dear

I 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

Link to comment
Share on other sites


Hi again RAZ Dad :)

You can put these at the end of your autoexec.bat;

.....

.....

.....

echo The image is succesfully restored!

pause

....

....

Thnaks for your for your help.

I added your command at the end of my Autoexec.bat but result is as following

A:\>.....

Bad Command or File name

A:\>.....

Bad Command or File name

A:\>.....

Bad Command or File name

A:\>echo The image is succesfully restored!

The image is succesfully restored! ( 2 times repeat the message)

A:\>pause

Press any key to continue

Thanks to see where is the problem

Link to comment
Share on other sites

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!

pause

hope this helps..

Link to comment
Share on other sites

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!
PAUSE

EDIT: agonified beat me to it. <_<:P

Edited by Asin
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...