I have this problem while trying to Increment a variable in a batch file this batch file is for renaming files in order I tried
@echo off set /a w=1 for /R %%