Can't change file association in XP

  • Thread starter cyndiwise notsowise
  • Start date
C

cyndiwise notsowise

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
 
A

ACC

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

This should reset the association.
 
C

cyndiwise notsowise

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
 
P

philo

cyndiwise notsowise said:
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.
 
P

Pegasus \(MVP\)

cyndiwise notsowise said:
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.
 
C

cyndiwise notsowise

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 said:
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 said:
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
 
R

Ramesh Srinivasan, MS-MVP

You're welcome Cyndi.

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


cyndiwise notsowise said:
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 said:
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
 
K

Kelly

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
 
P

Panic

cyndiwise notsowise said:
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?"
 

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