View Single Post
Old 9th November 2005, 06:54   #258  |  Link
QQ
Registered User
 
Join Date: Aug 2002
Location: Lithuania
Posts: 275
Quote:
Originally Posted by kodlson
I was make simple script for batch removing PBS from avi files in same folder.
Save this text as ie: removePBS.bat and when you want removing PBS fro mall files in folder just run it

It is first release you can publish, edit and distributing as you want.

@echo off
rem Path to UnpackCL
set path=c:\windows
rem temporary directory
set temp_dir=temp
rem Set extension ie: AVI, DIVX
set filter=avi
rem ************************************
echo Removing PacketBit stream from Avi(Xvid) files ...
rem create temporary directory...
md %temp_dir%
for %%f in (*.%filter%) do (
echo ----------------------------------------------
echo Konverze: %%f
%path%\UnpackCL.exe -i "%%f" "%temp_dir%\%%f"
)
echo
echo ---- Cleaning up... -----
rem move thumbnails and remove temporary directory
rmdir %temp_dir%
echo ----------------------------------------------
echo "Done. Copyright by Lowprize. Visit www.lowprize.tk !"
echo ----------------------------------------------
pause
so this converts all the files to tempdir, then just removes them?;p
QQ is offline   Reply With Quote