Jump to content
Compatible Support Forums
Sign in to follow this  
Paksmo

Changing file associations for ONE user only

Recommended Posts

Concerns WinXP.

 

OK, need info how to change file associations on XP, so that the changes affect ONE user only.

 

Exact problem :

I want to open http-links and internet shorcuts with OPERA, but my brother prefers IE. Both accounts are Administrators on the same install of XP.

 

- Pak

Share this post


Link to post

Two commands, ASSOC and FTYPE, allow you to manage file associations from a command prompt (or in a batch file).

 

Typing ASSOC, without parameters, displays the currently defined extensions. Type Assoc .wav to display the .wav file association. Typing assoc .wav= will delete the .wav association.

 

Typing FTYPE without options displays the file types that have defined open command strings. Ftype SoundRec will display the open command string for the file type SoundRec. Typing ftype SoundRec= will delete the open command string.

 

To define a new association for .log files which you want to open with notepad:

 

assoc .log=LogFile

ftype LogFile=%Systemroot%\System32\notepad.exe %1

 

For a complete explanation, type ftype /? at a command prompt.

 

Just create a batch file to change the associations from one browser to the other for each of you and place the batch file in the startup folder in each of your profiles. That way it runs everytime one of you log in.

Share this post


Link to post

That might work. We are usually both logged on at the same time though.

That could make it difficult

So XP doesn't support this functionality directly?

 

- Pak

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×