[comp.os.msdos.misc] Batch progarmming.

storm@cs.mcgill.ca (Marc WANDSCHNEIDER) (06/15/91)

I want to do the following in a Batch file:

if file exists, goto work
else printf("Hit Enter")
    wait for enter to be pressed
work:  Do something important.

How can I do this in a batch file...?

[p.s., if POSSIBLE, please forward all replies to storm@sizone.UUCP, instead
of storm@bart.cs.mcgill.ca -> THANKS you...!]

Help.

./*-
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
storm@cs.mcgill.ca         McGill University           It's 11pm, do YOU
Marc Wandschneider         Montreal, CANADA            know what time it is?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~