Hello
Im am trying to add some code to my script which basically determines what the day is whenever the script is run, and calculates the date it was on the sunday before.
Basically our backups run sunday night and get put into a folder called the date (yyyymmdd) 20060705. My script checks that folder for the backup files, but i have to manually put in the date via a msg box for it to know what date/folder to look for.
I just want to be able to run it anyday in the week and it know what folder to look in based on sundays date without me having to type it in every time.
I hope this makes sense, any help would be appreciated. Please bear in mind that im very new to VBscript but you guys have helped me before so this is the place to ask such a question.
Thanks in advance
Rob
Im am trying to add some code to my script which basically determines what the day is whenever the script is run, and calculates the date it was on the sunday before.
Basically our backups run sunday night and get put into a folder called the date (yyyymmdd) 20060705. My script checks that folder for the backup files, but i have to manually put in the date via a msg box for it to know what date/folder to look for.
I just want to be able to run it anyday in the week and it know what folder to look in based on sundays date without me having to type it in every time.
I hope this makes sense, any help would be appreciated. Please bear in mind that im very new to VBscript but you guys have helped me before so this is the place to ask such a question.
Thanks in advance
Rob