Instantly share code, notes, and snippets.

Embed
What would you like to do?
for /f "Tokens=*" %%f in ('dir /l/b/a-d') do (rename "%%f" "%%f")
for /r /d %%x in (*) do (
pushd "%%x"
for /f "Tokens=*" %%f in ('dir /l/b/a-d') do (rename "%%f" "%%f")
popd
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment