OK, so I have a large collection of txt files and I need to rename them I\'m trying it this way
Option 1:
for %%f in (*.txt) do set name=%%~n