How to change a double extension into a single one?? For example, change *.avi.rmvb to *.flv
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
@echo off
for %%i in (*.avi.rmvb) do call :Print "%%~ni"
pause
goto :Eof
:Print
echo %~n1.flv
goto :Eof