Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
set myDay=%DATE:~-15,3%
echo %myDay%
edday said:I didnt use task scheduler, as the thought of going around and setting things manually(which may need to be changed later) didnt appeal to me , however i might have to do this on some laptops which are barely used.
I gave AT a go, but i couldnt get it to schedule a job for system bootup (could only specify hours:minutes)
I tried using the date variable, but until this morning i couldnt get it to do what i wanted. But, using this script i am able to get the day into a variable...
Code:set myDay=%DATE:~-15,3% echo %myDay%
date > c:\temp\date.txt
find /i "Fri" c:\temp\date.txt
if errorlevel 1 goto end
<run your program here>
del c:\temp\date.txt
:end
superd00k said:it seems to want to wait for input after the first line
date /t > c:\temp\date.txt
find /i "Fri" c:\temp\date.txt
if errorlevel 1 goto end
<run your program here>
del c:\temp\date.txt
:end