Skip to content

Instantly share code, notes, and snippets.

@taylor-jones
Last active October 16, 2016 17:10
Show Gist options
  • Save taylor-jones/037e46ca16b922cb9c78e8de75b34d36 to your computer and use it in GitHub Desktop.
Save taylor-jones/037e46ca16b922cb9c78e8de75b34d36 to your computer and use it in GitHub Desktop.
bulk change filenames in folder
REM :: USING THE COMMAND PROMPT:
REM :: Snippet to change all the filenames in a directory (non-recusive)
REM :: The example below prepends all filenames with an underscore:
for %a in (*.*) do ren "%a" "_%a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment