for backup in your wgsclean.bat or wgsclean.ini
Posted: Tue Aug 22, 2017 2:56 pm
here is a great add to your backup process what this does is each night it copies your zip file of dats or whatever ya do for backup if it already exists it numbers the file
quotes for destination for me was needed cause of being a network drive tested and works awesomely
i would suggest you insert it just after zip/rar file is created
@echo off
set Source=C:\wgwcc.zip
set Destination="\\ajp\tonybook\nightly\"
set Filename=wgwcc
set a=1
:loop
if exist %Destination%\%Filename%(%a%).zip set /a a+=1 && goto :loop
copy %Source% %Destination%\%Filename%(%a%).zip
quotes for destination for me was needed cause of being a network drive tested and works awesomely

@echo off
set Source=C:\wgwcc.zip
set Destination="\\ajp\tonybook\nightly\"
set Filename=wgwcc
set a=1
:loop
if exist %Destination%\%Filename%(%a%).zip set /a a+=1 && goto :loop
copy %Source% %Destination%\%Filename%(%a%).zip