1.

Solve : Batch files: Usable only on a certain date??

Answer»

I don't know if it's even possible, but I desperately need to know how to make a batch file with text that you can see only once it is a certain day, like making it not work until April 8th or something.Please POST the format of your local DATE variable that you see when you OPEN a command prompt and type ECHO %DATE% and press ENTER.



Quote from: Mechanic on April 09, 2011, 01:58:08 PM

C:\>echo %date%
Sat 04/09/2011

C:\>

Code: [Select]@echo off
if "%date%"=="SUN 04/10/2011" (
echo You will only see this on Sunday 10th April 2011
)


Discussion

No Comment Found