I'm trying to implement some Scheduled Tasks.
These are for backups, and link to .bat scripts.
There are two kind of Batch scripts in-use;[list=1][*]One that backs-up data to the I:\ drive[*]One that backs up data to the N:\ drive[/list=1]
I'll include both scripts within the one NSIS installer. All servers have an I:\ drive, however only about half of them have the N:\ drive. Here is an idiosyncratic-programming way of showing you what I'd like;
If N:\ exists, extract nDrive-Script.bat to the Backup-Scripts directory
Can you please give me an example script which;else extract iDrive-Script.bat to the Backup-Scripts directory.
- Extracts the batch files based on existing directories
- Installs them as Scheduled Tasks which run at a certain specified time & date
Thanks in advance,
Panarchy
BTW: Backup-Scripts folder is located in T:\Backup-Scripts