Hi, i want to write a BATCH file or VBS to edit an existing BATCH file.
I have a batch file that is run to open an excel document, the bat file is as follows:
start excel c:\docs\cashcontrol\currentyear\wg10-STORENAME.xls
Every new financial year i have to dial in remotely to each store to change the above batch file (the WG10
part of the filename refpresents the year, so this year it would need to be WG11).
I have almost 150 sites that i will need to do this change in so i am trying to speed up the process by setting up a
windows schedule to run a bat file or vbscript to make the change for me.
Can anyone help me in writing the script to change the year no please?