thanks alot
u mean that in stead of putting the for loop variable 'I' put 0 and it will work out side the for loop like that
%~f0
instead of
%~fI inside the for loop
You use letters of the alphabet %%a to %%z and %%A to %%Z for loop variables and you use figures %1 to %9 for parameters passed to the batch file from the command line. %0 has a special meaning, it expands to the batch file's own name.