Can't change file association in XP

  • Thread starter Thread starter cyndiwise notsowise
  • Start date Start date
C

cyndiwise notsowise

Guest
I'm using XP SP3 and I tried to change the file association for some .php
files. Currently, these files are associated with Dreamweaver because I
installed a trial of DW. I have decided not to buy DW, and the trial has
expired so now I need to change the file associations for .php files to my
current HTML editor, which is notepad++.

In explorer, I right-clicked on one of the .php files and selected Open
With>Choose Program...>Browse>Program Files>Notepad++>ansi>notepad++.exe.
However, when I clicked OK, then on the Open With dialog screen, Notepad++ is
still not an option. I don't understand what I am doing wrong.

Thanks,
Cyndi
 
Re: Can't change file association in XP

In windows explorer, click 'Tools' 'Folder Options' 'File Types' find and
select PHP in the list and click 'Change'.

This should reset the association.


"cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
in message news:7061EA29-859E-4CBC-9DED-C23A4DD51F4C@microsoft.com...
> I'm using XP SP3 and I tried to change the file association for some .php
> files. Currently, these files are associated with Dreamweaver because I
> installed a trial of DW. I have decided not to buy DW, and the trial has
> expired so now I need to change the file associations for .php files to my
> current HTML editor, which is notepad++.
>
> In explorer, I right-clicked on one of the .php files and selected Open
> With>Choose Program...>Browse>Program Files>Notepad++>ansi>notepad++.exe.
> However, when I clicked OK, then on the Open With dialog screen, Notepad++
> is
> still not an option. I don't understand what I am doing wrong.
>
> Thanks,
> Cyndi
 
Re: Can't change file association in XP

This did not work either; the same thing happened after I selected Notepad++
as the program to open, it still did not appear in the list so I could not
select it to change the file association to it.

Is this abnormal behavior for XP? I have had no trouble in the past changing
other file associations.

Cyndi

"ACC" wrote:

> In windows explorer, click 'Tools' 'Folder Options' 'File Types' find and
> select PHP in the list and click 'Change'.
>
> This should reset the association.
>
>
> "cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
> in message news:7061EA29-859E-4CBC-9DED-C23A4DD51F4C@microsoft.com...
> > I'm using XP SP3 and I tried to change the file association for some .php
> > files. Currently, these files are associated with Dreamweaver because I
> > installed a trial of DW. I have decided not to buy DW, and the trial has
> > expired so now I need to change the file associations for .php files to my
> > current HTML editor, which is notepad++.
> >
> > In explorer, I right-clicked on one of the .php files and selected Open
> > With>Choose Program...>Browse>Program Files>Notepad++>ansi>notepad++.exe.
> > However, when I clicked OK, then on the Open With dialog screen, Notepad++
> > is
> > still not an option. I don't understand what I am doing wrong.
> >
> > Thanks,
> > Cyndi

>
>
>
 
Re: Can't change file association in XP


"cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
in message news:EE99981D-FAF3-4A62-90CE-46C8B6F7AC82@microsoft.com...
> This did not work either; the same thing happened after I selected

Notepad++
> as the program to open, it still did not appear in the list so I could not
> select it to change the file association to it.
>
> Is this abnormal behavior for XP? I have had no trouble in the past

changing
> other file associations.
>
> Cyndi




I recently had a similar problem with a different application.

The reason I could not re-associate turned out to be the original
application was over-riding my changes..

So in your case, open the "offending application" and *unassociate*

save changes and close.

Now you should be able to re-associate with your desired app.
 
Re: Can't change file association in XP


"cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
in message news:EE99981D-FAF3-4A62-90CE-46C8B6F7AC82@microsoft.com...
> This did not work either; the same thing happened after I selected
> Notepad++
> as the program to open, it still did not appear in the list so I could not
> select it to change the file association to it.
>
> Is this abnormal behavior for XP? I have had no trouble in the past
> changing
> other file associations.
>
> Cyndi


Since you've had no problem in the past when changing file associations,
this behaviour is unlikely to be a Windows XP issue. It is far more likely
to be caused by DreamWeaver. I suspect that its installation process made a
certain registry key "read-only", thus preventing you from changing it in
future. You now need to scan the registry for places where the string "php"
occurs. If they relate to DreamWeaver then you should check their permission
settings and change them if necessary.

The DreamWeaver FAQ pages are probably a good place to explore this issue
further.
 
Re: Can't change file association in XP

Hi Cyndi,

Try registering Notepad++ (with Open With) using this tool:
http://windowsxp.mvps.org/openwithadd.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


"cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
in message news:7061EA29-859E-4CBC-9DED-C23A4DD51F4C@microsoft.com...
> I'm using XP SP3 and I tried to change the file association for some .php
> files. Currently, these files are associated with Dreamweaver because I
> installed a trial of DW. I have decided not to buy DW, and the trial has
> expired so now I need to change the file associations for .php files to my
> current HTML editor, which is notepad++.
>
> In explorer, I right-clicked on one of the .php files and selected Open
> With>Choose Program...>Browse>Program Files>Notepad++>ansi>notepad++.exe.
> However, when I clicked OK, then on the Open With dialog screen, Notepad++
> is
> still not an option. I don't understand what I am doing wrong.
>
> Thanks,
> Cyndi
 
Re: Can't change file association in XP

Thank you, Ramesh! The Open With tool did the trick!

I had tried uninstalling Dreamweaver and while that did remove the DW
association with the .php files, I was still unable to select Notepad++ as
the associated program. But the 'Open With' tool solved the problem and now
all my .php files are associated with Notepad++.

Thanks again!!
Cyndi

"Ramesh Srinivasan, MS-MVP" wrote:

> Hi Cyndi,
>
> Try registering Notepad++ (with Open With) using this tool:
> http://windowsxp.mvps.org/openwithadd.htm
>
> --
> Regards,
>
> Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
> The Winhelponline Blog http://www.winhelponline.com/blog
>
>
> "cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
> in message news:7061EA29-859E-4CBC-9DED-C23A4DD51F4C@microsoft.com...
> > I'm using XP SP3 and I tried to change the file association for some .php
> > files. Currently, these files are associated with Dreamweaver because I
> > installed a trial of DW. I have decided not to buy DW, and the trial has
> > expired so now I need to change the file associations for .php files to my
> > current HTML editor, which is notepad++.
> >
> > In explorer, I right-clicked on one of the .php files and selected Open
> > With>Choose Program...>Browse>Program Files>Notepad++>ansi>notepad++.exe.
> > However, when I clicked OK, then on the Open With dialog screen, Notepad++
> > is
> > still not an option. I don't understand what I am doing wrong.
> >
> > Thanks,
> > Cyndi

>
>
>
 
Re: Can't change file association in XP

You're welcome Cyndi.

--
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


"cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
in message news:181E71AD-7E57-4DF9-B9B7-03F5943FE10A@microsoft.com...
> Thank you, Ramesh! The Open With tool did the trick!
>
> I had tried uninstalling Dreamweaver and while that did remove the DW
> association with the .php files, I was still unable to select Notepad++ as
> the associated program. But the 'Open With' tool solved the problem and
> now
> all my .php files are associated with Notepad++.
>
> Thanks again!!
> Cyndi
>
> "Ramesh Srinivasan, MS-MVP" wrote:
>
>> Hi Cyndi,
>>
>> Try registering Notepad++ (with Open With) using this tool:
>> http://windowsxp.mvps.org/openwithadd.htm
>>
>> --
>> Regards,
>>
>> Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
>> The Winhelponline Blog http://www.winhelponline.com/blog
 
Re: Can't change file association in XP

Close all IE windows. Then go to Start/Run/Regedit and navigate to this
key:

HKEY_CLASS_ROOT\.htm\openwithlist\

Right click on the Openwithlist folder and select new->Key menu. Create
another folder named Dreamweaver. Right click on Dreamweaver and select
new->Key menu to create a folder named shell.

Right click on the shell folder and select new->key menu to create a new
folder named command.

Double click on the default item in the command folder, input the
Dreamweaver file full path and %1.

For example if the Dreamweaver EXE file path is C:\ Dreamweaver.exe,
input this: C:\ Dreamweaver %1

--

All the Best,
Kelly (MS-MVP/DTS&XP)

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm

SupportSpace
www.supportspace.com/pages?aiu=kellyskorner

"cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
in message news:7061EA29-859E-4CBC-9DED-C23A4DD51F4C@microsoft.com...
> I'm using XP SP3 and I tried to change the file association for some .php
> files. Currently, these files are associated with Dreamweaver because I
> installed a trial of DW. I have decided not to buy DW, and the trial has
> expired so now I need to change the file associations for .php files to my
> current HTML editor, which is notepad++.
>
> In explorer, I right-clicked on one of the .php files and selected Open
> With>Choose Program...>Browse>Program Files>Notepad++>ansi>notepad++.exe.
> However, when I clicked OK, then on the Open With dialog screen, Notepad++
> is
> still not an option. I don't understand what I am doing wrong.
>
> Thanks,
> Cyndi
 
Re: Can't change file association in XP

Change and/or Add an HTML Editor (Line 132)
http://www.kellys-korner-xp.com/xp_tweaks.htm


--

All the Best,
Kelly (MS-MVP/DTS&XP)

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm

SupportSpace
www.supportspace.com/pages?aiu=kellyskorner

"cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
in message news:7061EA29-859E-4CBC-9DED-C23A4DD51F4C@microsoft.com...
> I'm using XP SP3 and I tried to change the file association for some .php
> files. Currently, these files are associated with Dreamweaver because I
> installed a trial of DW. I have decided not to buy DW, and the trial has
> expired so now I need to change the file associations for .php files to my
> current HTML editor, which is notepad++.
>
> In explorer, I right-clicked on one of the .php files and selected Open
> With>Choose Program...>Browse>Program Files>Notepad++>ansi>notepad++.exe.
> However, when I clicked OK, then on the Open With dialog screen, Notepad++
> is
> still not an option. I don't understand what I am doing wrong.
>
> Thanks,
> Cyndi
 
Re: Can't change file association in XP


"cyndiwise notsowise" <cyndiwisenotsowise@discussions.microsoft.com> wrote
in message news:7061EA29-859E-4CBC-9DED-C23A4DD51F4C@microsoft.com...
> I'm using XP SP3 and I tried to change the file association for some .php
> files. Currently, these files are associated with Dreamweaver because I
> installed a trial of DW. I have decided not to buy DW, and the trial has
> expired so now I need to change the file associations for .php files to my
> current HTML editor, which is notepad++.
>
> In explorer, I right-clicked on one of the .php files and selected Open
> With>Choose Program...>Browse>Program Files>Notepad++>ansi>notepad++.exe.
> However, when I clicked OK, then on the Open With dialog screen, Notepad++
> is
> still not an option. I don't understand what I am doing wrong.
>
> Thanks,
> Cyndi


After you chose Notepad did you click a checkmark in the box before "always
use this program for this type file?"
 
Back
Top