Re: How to enforce file type association for all users.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Kelly (kelly_at_mvps.org)
Date: 05/03/04


Date: Mon, 3 May 2004 00:17:11 -0500

Hi Rami,

Is that program installed for all users?

In the meantime: To rename en masse: (use as example)

Go to Start/Run/CMD

Open a Command Prompt window (Start/Run/CMD) and navigate to the folder the
CHK files are in. At the command prompt type REN *.CHK *.JPG (note the
spacing).

Add new program and file ext doesn't change nor the icon:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

Scroll down to the ext and change the application path. If Application
isn't listed, add it (String Value). Also under HKEY_CLASSES_ROOT\[file in
question]\shell\open\command. To change the icon: HKEY_CLASSES_ROOT\[file
in question]\DefaultIcon

File Extensions hide -

>From the command prompt, "attrib *.ext +h," where ext equals the
desired extension and without the quote marks.

ASSOC [.ext[=[fileType]]]

.ext = Specifies the file extension to associate the file type with
fileType = Specifies the file type to associate with the file extension

Type ASSOC without parameters to display the current file associations. If
ASSOC is invoked with just a file extension, it displays the current file
association for that file extension. Specify nothing for the file type and
the command will delete the association for the file extension.

-- 
All the Best,
Kelly
Microsoft-MVP Windows® XP
2004 Windows MVP "Winny" Award
Troubleshooting Windows XP
http://www.kellys-korner-xp.com
Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm
"Rami" <anonymous@discussions.microsoft.com> wrote in message 
news:5456A31E-B286-44DB-AB41-E945CEC29310@microsoft.com...
> Hi,
> I am trying to associate a certain file type with a certain program. I can 
> do that logging on as local administrator, but when I log on as a user 
> that does not have administrative rights, I see that file extension 
> associated with a different program. Has anyone faced this issue. What 
> could be the resolution?
> I would appreciate if anyone could help me find a way to enforce file type 
> associations for all users.
>
> Thanks,
> Rami 


Relevant Pages

  • Re: File Extension, Program to use Problem!
    ... 2004 Windows MVP "Winny" Award ... >> associations that XP ships with. ... >> fileType = Specifies the file type to associate with the file extension ...
    (microsoft.public.windowsxp.general)
  • Re: Folder Options?
    ... Windows uses the file extension to determine what ... program is associated with a particular file type. ... The error message you are getting is from Windows saying that you don't ... attachments that come in email. ...
    (microsoft.public.windowsxp.basics)
  • Re: always choose this option
    ... fileType = Specifies the file type to associate with the file extension ... Troubleshooting Windows XP ...
    (microsoft.public.windowsxp.general)
  • Re: program messed up need to change
    ... fileType = Specifies the file type to associate with the file extension ... 2004 Windows MVP "Winny" Award ...
    (microsoft.public.windowsxp.general)
  • Re: Associated Program
    ... Or simply delete the file type. ... A Command Prompt ... Right click in this Window and select Paste. ... fileType = Specifies the file type to associate with the file extension ...
    (microsoft.public.windowsxp.general)