Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 171: | Line 171: | ||
[[User:JLittle|JLittle]] 21:27, November 10, 2009 (UTC) |
[[User:JLittle|JLittle]] 21:27, November 10, 2009 (UTC) |
||
:Yes, and probably also [[Open_Vim_Here_by_clicking_the_context_menu_on_a_folder/directory_on_Windows]]. Maybe we can create a "special cases" section that includes both of these, and potentially other "reserved" values that can be used? --[[User:Fritzophrenic|Fritzophrenic]] 21:44, November 10, 2009 (UTC) |
:Yes, and probably also [[Open_Vim_Here_by_clicking_the_context_menu_on_a_folder/directory_on_Windows]]. Maybe we can create a "special cases" section that includes both of these, and potentially other "reserved" values that can be used? --[[User:Fritzophrenic|Fritzophrenic]] 21:44, November 10, 2009 (UTC) |
||
+ | : |
||
+ | : ------------ |
||
+ | : |
||
+ | : From what I can tell there is no 'easy' way to set file associations in windows. It has always been a pain because you have system level associations and user level associations for EVERY USER on the system... anyway lets stop Windows Media Player for GOOD. |
||
+ | |||
+ | Sick of Windows Media Player always popping up when you click any media? Maybe you have more than one login or app that constantly tries to take over your file associations? Use this script to set them right! |
||
+ | : |
||
+ | : |
||
+ | for %%j IN (.MMS,.WTV,.3G2,.3GP,.ADTS,.AIFF,.ASF,.ASX,.AU,.AVI,.CDA,.M2TS,.m3u,.M4A,.MIDI,.mov,.mp3,.mp4,.MPEG,.TTS,.WAV,.WAX,.wma,.WMD,.WMS,.WMV,.WMZ,.WPL,.WVX) do ( |
||
+ | |||
+ | for /f %%i IN ('wmic path win32_useraccount where "name like '%%'" get sid') do ( |
||
+ | echo wiping %%i %%j |
||
+ | reg delete "HKCR\%%j" /f 2> %temp%\null |
||
+ | reg delete "HKU\%%i\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\%%j" /f 2> %temp%\null |
||
+ | reg delete "HKU\%%i\%%j" /f 2> %temp%\null |
||
+ | ) |
||
+ | |||
+ | ) |
||
+ | : |
||
+ | |||
+ | Run as administrator to reset Windows Media Player extensions it hijacks: |
||
+ | |||
+ | http://rmccurdy.com/scripts/ ftype_wipe.exe |
||
+ | |||
+ | These include: .MMS,.WTV,.3G2,.3GP,.ADTS,.AIFF,.ASF,.ASX,.AU,.AVI,.CDA,.M2TS,.m3u,.M4A,.MIDI,.mov,.mp3,.mp4,.MPEG,.TTS,.WAV,.WAX,.wma,.WMD,.WMS,.WMV,.WMZ,.WPL,.WVX |
||
+ | |||
+ | Example of command line I use to set file associations: |
||
+ | |||
+ | http://rmccurdy.com/scripts/ acc.bat.txt |
||
+ | |||
+ | Source code to the binary that is just a 7-zip SFX Self Extracting zip with a Windows Batch file in it : |
||
+ | |||
+ | http://rmccurdy.com/scripts/ ftype_wipe.bat.txt |