🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3393

Batch progarmming.

#3393
From: Marc WANDSCHNEIDER
Date: Sat, 15 Jun 1991 05:44
21 lines
1083 bytes
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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <1991Jun15.054405.28932@cs.mcgill.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!quiche!storm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!quiche!storm
From: storm@cs.mcgill.ca (Marc WANDSCHNEIDER)
Newsgroups: comp.os.msdos.misc
Subject: Batch progarmming.
Message-ID: <1991Jun15.054405.28932@cs.mcgill.ca>
Date: 15 Jun 91 05:44:05 GMT
Sender: news@cs.mcgill.ca (Netnews Administrator)
Organization: SOCS, McGill University, Montreal, Canada
Lines: 21