Advertisement
Guest User

TagRename

a guest
Jan 24th, 2015
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.45 KB | None | 0 0
  1. @echo off
  2.  
  3. rem #This stores your input to variable "tag". You must also enter the underscore
  4. set /p tag="Enter tag: "
  5.  
  6. rem #If you want to rename files with more different file extensions, just add them after "*.mp4"
  7. rem #For example (*.avi *.mp4 *.flv *.webm)
  8. for %%a in (*.avi *.mp4) do ren "%%~a" "%tag%%%~na%%~xa"
  9.  
  10. rem #This batch file must be in same folder with the files you want to rename
  11. rem #You can remove these lines beginning with "rem"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement