Tailor to fit.
In closing, I don't offer to write the code for you since it's your code to create and maintain.
I want to write a small batch file to open certain documents on my computer when I log on, that quite easy a certain document only needs to be open on fridays so I need to find a way of checking the system date and then using something like. I asked elsewhere but didnt get much help, a guy said something about using a VBscript although I have no experience in VB, and little in batch file scripting.
if date ==friday
then open myfile.doc
Can anyone give me some help with this?
I am using XP BTW.
EDIT: I plan to put the .BAT file in my start folder and hope to run a check daily to see if day == friday.
Well I want to say something like:
if %DAY% == friday
then START myfile.doc
if I have a numeric date then that value will change, for instance tomorrow is 08/.. next week 15/.. etc, when the month changes the pattern does too, some months have 31 some 28 and some 30. How would I reference an ever changing number value with only a bash script?
Your favorite shows are back!
Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!