How to make a program default for all users?

A

Abertech

I need to make a program as the default so that it opens up mp3 files
by default and not windows media player. This is easy to do for
myself when I am logged in - I just associate mp3 files with the
application I want via Windows Explorer > Tools > Folder Options >
File Types.

This doesnt work when another user logs in as it reverts mp3's back to
WMP. The program I want people to use does not appear in the Set
Program Access and Defaults options so I cant set it there either.

Is anyone able to help me out on this?

TIA.
 
J

John John (MVP)

You can stick a batch file in the "All Users" Startup folder and when
they logon the batch file will be processed and the file will be
associated to the program you want. You could also do this with Logon
Scripts. The batch file is quite simple, you can use the ASSOC command
to do this:

assoc .mp3=yourchoice

To confirm the file type association that you use, at the command prompt
when you are logged on and have the file associated to the desired
program, issue the following command and take note of the associated
file type:

assoc .mp3

If you find that the file type is what you want but that it still opens
with the wrong program you can use the FTYPE command to change the
default program that will be used to open the file:

ftype yourchoice="C:\Program Files\Program Folder\ProgramName.exe" "%1"

For help on these commands use the /? switch at the Command Prompt:

assoc /?
ftype /?

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top