Advertisement
ghiwar

Batch Rename

Jan 19th, 2025
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. After download url video using https://pastebin.com/jMpqLv42 then download video using wget -i video9.txt
  2. Then rename video using bat file below
  3.  
  4. @echo off
  5. setlocal enabledelayedexpansion
  6. set count=1
  7.  
  8. for %%f in ("index.html*") do (
  9. set "filename=%%~nxf"
  10. ren "%%f" "video_8_!count!.mp4"
  11. set /a count+=1
  12. )
  13. pause
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement