I have a bat file one for every day that runs, with system scheduler, so for each bat file I have to run system scheduler.
Is there a way that I can only run system scheduler one. but the bat file give the day.
How can I do this.
Eg
Here is Day 1 (Busres 1(Mon).bat)
@echo off
net use K: \\172.22.6.36\osback
:: [To Connect(map) K: drive with ip]
cd\
echo off
K:
cd \
Xcopy . /D /I /F /E /Y D:\Backup\Busres\1Mon
net use K: /delete /y
:: [To disconnect the K: Drive]
exit
Here is day 2 Busres 2(Tue).bat
@echo off
net use K: \\172.22.6.36\osback
:: [To Connect(map) K: drive with ip]
cd\
echo off
K:
cd \
Xcopy . /D /I /F /E /Y D:\Backup\Busres\2Tue
net use K: /delete /y
:: [To disconnect the K: Drive]
exit
Can I make one batch file so that it can run on day 1,2,3,4,5,6 and 7.
Thank You