I need to run a VBScript in the backround that will check the date and time and run a bat file at a certain date and time…
this is what I have so far…
Option Explicit
dim MyDate
dim MyTime
stop
MyDate = date
MyTime = time
Do
If MyDate = ##/02/####
then goto next
else goto loop
If MyTime = 12:00a
then goto next
else goto loop
Loop
Run c:\test.bat
End Function
Any suggestions?