Is there a way i can build a windows batch file with LgDup & shareDup script in them ?I want to have all the commands at one place in a batch file so that i eliminate having to re-build all of the commands during outage window .If i run cut and paste in the cmd prompt there is no easy way to quickly run them in future .
Please let me know how can i build a windows batch file for lgdup commands ?.
dynamox
11 Legend
•
20419 Posts
•
87439 Points
1571
0
Posted June 11th, 2012 04:00
login to the control station and enter:
for i in {1..5}
do
echo "sharedup.exe \\\nas-test$i \\\nas-test-temp$i all /sd /log:sharedup_nas-test$i.log"
done
this will echo output to the screen and you can copy and paste it into notepad and save is as .bat file.