I need a script to rename file extensions.
I tried a .bat script with the following command:
rename *.mkv *.mp4
but I get the following error:
C:\Program Files (x86)\SABnzbd>rename *.mkv *.mp4
The system cannot find the file specified.
Can someone please tell me how to do this. I just want to rename MKV files to MP4
Thanks in advance
rename file extension script help please -Resolved
rename file extension script help please -Resolved
Last edited by alexaa on February 13th, 2009, 9:39 pm, edited 1 time in total.
Re: rename file extension script help please -Resolved
Copying a script elsewhere this eneded up working:
In a .cmd file I pasted the following:
@echo off
rem Example of a post processing script for SABnzbd
echo.
cd /d %1
if exist *.nfo del *.nfo
ren *.mkv *.avi
echo.
Hopw this helps anyone else looking to do the same thing, for playing in PowerDVD for example.
In a .cmd file I pasted the following:
@echo off
rem Example of a post processing script for SABnzbd
echo.
cd /d %1
if exist *.nfo del *.nfo
ren *.mkv *.avi
echo.
Hopw this helps anyone else looking to do the same thing, for playing in PowerDVD for example.
Last edited by alexaa on March 31st, 2009, 10:10 pm, edited 1 time in total.
Re: rename file extension script help please -Resolved
Thanks, exactly what I was looking for!