say a bat file is creating file.txt
i want to put something in, so if file.txt exists, when it comes to save, it creates filea.txt
if file a exists, then create fileb.txt
-ie, instead of overwriting or appending the current files, just adding a new letter to the end of it
this won't happen more than 10 times a day, so i won't run out of the alphabet..
can anyone help
i know it's something like..
file%%i.txt if %%i exists %%i = (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,w,y,z)
just not sure how to write it
i want to put something in, so if file.txt exists, when it comes to save, it creates filea.txt
if file a exists, then create fileb.txt
-ie, instead of overwriting or appending the current files, just adding a new letter to the end of it
this won't happen more than 10 times a day, so i won't run out of the alphabet..
can anyone help

i know it's something like..
file%%i.txt if %%i exists %%i = (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,w,y,z)
just not sure how to write it