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

Batch File Help?
Saturday, February 21, 2009 at 9:25 am
Windows 98 Annoyances Discussion Forum
Posted by Robert Blanda (4 messages posted)


I was wondering if you gurus can give me some direction... 

I run a Specials Menu on a large LCD TV at a restaurant using powerpoint. There are 
two specials files (lunch.pps and dinner.pps)
When this system reboots, i want a batch file to determine which powerpoint file 
to open based on what time it is.

ON BOOTUP: For instance, if it's anywhere between 11am and 3pm, open the lunch file. 
If its any other time, run the dinner.pps file. Make sense? 

Im already running a scheduled tasks application that shuts down one and starts up 
the other based on what time. This works very well. Problem is, i frequently Remote 
Desktop into this machine and make changes. Once those changes are made, i have to 
reboot the system. I then want this batch file to start the appropriate presentation 
since the scheduled task application only works when it sees 11am or 3pm (as in the 
example above)

I figured since you can determine time and date within a batch file, can't you do 
an if /then/else type script within a batch? (if its *this time* then load THIS application)

Does anyone know what the syntax is to do this? 




Responses to this message:
*Branching in a Batch File based on the Real-Time Clock? (gewg_: Saturday, February 21, 2009 at 11:39 am)
*re: Batch File Help? (MartinM: Wednesday, February 25, 2009 at 3:00 pm)
*re: Batch File Help? (Bill: Friday, February 27, 2009 at 2:36 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-2009 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.