Advertisement
vir0e5

Rename File Youtube Batch Script

May 12th, 2013
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :: Mengganti Nama File Yang Di Download Dari Youtube Menggunakan IDM, simpan dengan nama rename_tube.bat
  2. :: example  : Opera Van Java - YouTube.flv  => Opera Van Java.flv
  3. @echo off
  4. setlocal EnableDelayedExpansion
  5. for %%f in (*) do (
  6.     set "oldname=%%f"
  7.     set "newname=!oldname: - YouTube=!"
  8.     ren "!oldname!" "!newname!"
  9. )
Advertisement
RAW Paste Data Copied
Advertisement