Changing file type associations

Soldato
Joined
4 Jan 2004
Posts
7,766
Location
Nottingham
does anyone know of a program or a way to change what program certain file types open with, but so it affects everyone who logs onto the computer??

its for one of the computer suite's here at work, they want a program called Dazzle to open .bmp's when double clicking on them. but since I installed paintshop pro 10 on the computers its defaulted bitmaps to open in that instead of dazzle.

I've changed what file types paintshop pro 10 uses in its preferences, done the whole right click on the file - open with -select dazzle and put the check in the box "always open with this program" and i've also done the right click - properties and changed the "opens with" bit.

this sort of works for me with my account, but for every other user that logs onto the computers it has no affect

cheers
 
control panel, folder options, file types set bmp to open with dazzle.

Think that will effect all users if its done on the admin account
 
Copy and past this into notepad and save as XXXX.bat. Edit to suit your own needs run it once, reboot and your done. ;)

Code:
CLS 
@echo off 
ECHO.
MODE CON COLS=80 LINES=20
COLOR 1F
TITLE Registering file Accocations...

ECHO ------------------ Winamp... ---------------
REM WINAMP
REG ADD "HKLM\SOFTWARE\Classes\Winamp.File\DefaultIcon" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe,1" /F
REG ADD "HKLM\SOFTWARE\Classes\Winamp.Playlist\DefaultIcon" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe,0" /F

REG ADD "HKLM\SOFTWARE\Classes\Winamp.File\shell\open\command" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe \"%%L\"" /F
REG ADD "HKLM\SOFTWARE\Classes\Winamp.Playlist\shell\open\command" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe \"%%L\"" /F

REG ADD "HKLM\SOFTWARE\Classes\.mp3" /VE /D "Winamp.File" /F
REG ADD "HKLM\SOFTWARE\Classes\.wav" /VE /D "Winamp.File" /F
REG ADD "HKLM\SOFTWARE\Classes\.wma" /VE /D "Winamp.File" /F
REG ADD "HKLM\SOFTWARE\Classes\.mid" /VE /D "Winamp.File" /F
REG ADD "HKLM\SOFTWARE\Classes\.wav" /VE /D "Winamp.File" /F
REG ADD "HKLM\SOFTWARE\Classes\.m3u" /VE /D "Winamp.Playlist" /F

EXIT
 
Last edited:
so with this bat, do i need the winamp.playlist bit in? (obviously chaning winamp for Dazzle as thats what i need)
 
All you have to do now is change the file extention and path to the dazzle appliction.

Code:
CLS 
@echo off 
ECHO.
MODE CON COLS=80 LINES=20
COLOR 1F
TITLE Registering file Accocations...

ECHO ------------------ Winamp... ---------------
REM WINAMP
REG ADD "HKLM\SOFTWARE\Classes\dazzle.File\DefaultIcon" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe,1" /F

REG ADD "HKLM\SOFTWARE\Classes\dazzle.File\shell\open\comma  nd" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe \"%%L\"" /F

REG ADD "HKLM\SOFTWARE\Classes\.mp3" /VE /D "dazzle.File" /F


EXIT
 
Back
Top Bottom