Skip to content

Instantly share code, notes, and snippets.

@PranavSK
Created February 18, 2021 11:19
Show Gist options
  • Save PranavSK/583d0965058efe0c40eb9aed43979b03 to your computer and use it in GitHub Desktop.
Save PranavSK/583d0965058efe0c40eb9aed43979b03 to your computer and use it in GitHub Desktop.
cmd /e:on /v:on /c "for %f in ("* *.exe") do (set "n=%~nxf" & set "n=!n: =_!" & ren "%~ff" "!n!" )"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment