Compatible Support Forums: Changing file associations for ONE user only

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing file associations for ONE user only

#1 User is offline   Paksmo 

  • stranger
  • Group: Members
  • Posts: 6
  • Joined: 09-March 04

Posted 09 March 2004 - 09:00 PM

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
0

#2 User is offline   evaldez 

  • stranger
  • Group: Members
  • Posts: 17
  • Joined: 08-August 03

Posted 09 March 2004 - 11:24 PM

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.
0

#3 User is offline   Paksmo 

  • stranger
  • Group: Members
  • Posts: 6
  • Joined: 09-March 04

Posted 10 March 2004 - 04:19 AM

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
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users