Easy solution would be to put a "PAUSE" command in after the copy command.
Pause will halt the script temporarily, waiting for you to press a Key to continue. It also offers "<Control + C>" to cancel any further processing in the script. To give the use a little more info you could use the ECHO command. ========================= @Echo off Copy /V /Y %Card%* %BaseDir% Echo Make sure all the images have been copied to the Hard Drive Echo before continuing. To cancel the Format, Press <Control + C> now !! Pause Format %Card% ========================= I agree with the fact that automating the format without error checking would not be good. VBScript is obviously a lot more flexible, if you wish to do something along that line. Regards Barry Lollo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Horst Herb > Sent: Tuesday, 14 November 2006 9:05 PM > To: General Practice Computing Group Talk > Subject: Re: [GPCG_TALK] DOS scripting help or other ideas please > > On Tuesday 14 November 2006 21:56, Peter Machell wrote: > > :: Copy (with verify and overwrite) our photos: > > > > copy /V /Y %Card%* %BaseDir% > > > > :: Format the card: > > > > format %Card% > > not so familiar with DOS type scripts - but wouldn't that > format the card even if the copy failed for whatever reason? > (not a nice thought when considering "unique" snap shots) > > Is there a failproof way in DOS scripts to test for success > as in any UNIX shell script? > > Horst > _______________________________________________ > Gpcg_talk mailing list > [email protected] > http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk > _______________________________________________ Gpcg_talk mailing list [email protected] http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk
