Annoyances.org
Home » Windows 98 Discussion Forum » Message 1235602852 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

re: Batch File Help?
Wednesday, February 25, 2009 at 3:00 pm
Windows 98 Annoyances Discussion Forum
Posted by MartinM (5802 messages posted)


You can get pretty creative with DOS's limited command set. For instance, on boot run a batch file that deletes a file [nnn] if it exists (use the IF EXIST command). Then use the AT command to create file [nnn] at your crossover time. Finally schedule a batch file to run at say 5 minute intervals and use the IF EXIST command again to interrogate the existence of the file [nnn] to determine your time-related course of action. I hope this makes sense (its perfectly clear to ME !!). I'm sure you can improve on what I cobbled together, and its instructive to get your own ingenuity going :-)




Written in response to:
Batch File Help? (Robert Blanda: Saturday, February 21, 2009 at 9:25 am)

Responses to this message:
*re: Batch File Help? (gewg_: Thursday, February 26, 2009 at 5:33 pm)

All messages in this thread [show all]
-Batch File Help? (Robert Blanda: Sat, Feb 21, 2009, 9:25 am)
-Branching in a Batch File based on the Real-Time Clock? (gewg_: Sat, Feb 21, 2009, 11:39 am)
-re: Branching in a Batch File based on the Real-Time Clock? (Robert Blanda: Sat, Feb 21, 2009, 12:46 pm)
*re: Branching in a Batch File based on the Real-Time Clock? (gewg_: Sat, Feb 21, 2009, 2:50 pm)
-re: Batch File Help? (MartinM: Wed, Feb 25, 2009, 3:00 pm)
*re: Batch File Help? (gewg_: Thu, Feb 26, 2009, 5:33 pm)
-re: Batch File Help? (Bill: Fri, Feb 27, 2009, 2:36 pm)
*re: Batch File Help? (Robert Blanda: Sat, Feb 28, 2009, 10:39 am)
Return to the Windows 98 Discussion Forum


All content at Annoyances.org is Copyright © 1995-2010 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.