re: Batch File Help?
Saturday, February 28, 2009 at 10:39 am Windows 98 Annoyances Discussion Forum
Posted by Robert Blanda
(4 messages posted)
Actually, a nice person on another board wrote me a batch file. Goes like this:
@Echo Off & Setlocal enableextensions enabledelayedexpansion
set _H1=N
set _H2=N
FOR /F "tokens=1 delims=:" %%A IN ('echo %time%') DO (
echo %%A
if %%A GEQ 11 set _H1=Y
echo !_H1!
if %%A LSS 15 set _H2=Y
echo !_H2!
if [!_H1!!_H2!] == [YY] (
start "" "C:\Documents and Settings\rblanda\Desktop\lunch\lunch.pps"
) ELSE (
start "" "C:\Documents and Settings\rblanda\Desktop\dinner\dinner.pps"
))
- Written in response to:
- re: Batch File Help? (Bill: Friday, February 27, 2009 at 2:36 pm)
There are presently no replies to this message.
|
|
All messages in this thread [show all]
 |  |  | re: Batch File Help? (Robert Blanda: Sat, Feb 28, 2009, 10:39 am) |
| |
| |
Return to the Windows 98 Discussion Forum
|
|