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:
|
|
All messages in this thread [show all]
 | Batch File Help? (Robert Blanda: Sat, Feb 21, 2009, 9:25 am) |
| |
| |
Return to the Windows 98 Discussion Forum
|
|