You can automate the format: Echo y|format %card%
will do it. It runs the format command as before, but pokes it with the letter Y when appropriate. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Horst Herb Sent: Tuesday, 14 November 2006 7: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
