@echo off echo pwd = %CD% assoc .pdf=pdf ftype pdf=%CD%\viewers\Adobe Reader v9.0 Lite ENG - (Portable) - Mr1000.exe "%%1" assoc .doc=doc ftype doc=%CD%\viewers\th_office2007E_sp1\Microsoft Office Word 2007.exe "%%1" assoc .xls=xls ftype xls=%CD%\viewers\th_office2007E_sp1\Microsoft Office Excel 2007.exe "%%1" assoc .ppt=ppt ftype ppt=%CD%\viewers\th_office2007E_sp1\Microsoft Office PowerPoint 2007.exe "%%1" assoc .zip=zip ftype zip=%CD%\media\7zip\7zFM.exe "%%1" assoc .psd=psd ftype psd=%CD%\viewers\PhotoShop CS3-Ext.exe "%%1" assoc .mp3=mp3 ftype mp3=%CD%\media\VLCPortable\VLCPortable.exe "%%1" assoc .m3u=m3u ftype m3u=%CD%\media\VLCPortable\VLCPortable.exe "%%1" assoc .flv=flv ftype flv=%CD%\media\VLCPortable\VLCPortable.exe "%%1" assoc .rar=rar ftype rar=%CD%\media\winrar\WinRAR.exe "%%1"