How-To Geek Forums / Windows XP

File Extension Program

(28 posts)
  • Started 2 years ago by anselh
  • Latest reply from LH
  • Topic Viewed 2558 times

anselh
Posts: 11

I'm using Windows XP and I'm trying to change the program to open a file extension (in this case .properties) I'm trying to change it to open with notepad/wordpad however it won't let me.
I tried changing it by right clicking on the .propeties file and click properties and on the line where it says "Opens With" I clicked wordpad/notepad, the box is tick with "Always use the selected program to open this kind of file" but when i pressed "Ok" the folder where the file is in suddenly refreshes, and I am still unable to double click on the file and automatically open the file with notepad/wordpad. I am now doing a slower version by opening notepad and dragging the file onto it.

Posted 2 years ago #
Top
 
anselh
Posts: 11

anyone have any idea?

Posted 2 years ago #
Top
 
LH
LH
Posts: 20002

Hi anslh yes. I don't think you can do it with XP's "Open with", but I wrote another one which does work.
I wrote it for Vista, but it should work in XP.
BUT. Backup your registry before you try it (just in case)
http://www.howtogeek.com/forum.....post-26797

Posted 2 years ago #
Top
 
anselh
Posts: 11

Okay im gonna test it out. Thanks for the response.

Posted 2 years ago #
Top
 
anselh
Posts: 11

After i've put in "rundll32.exe shell32.dll,OpenAs_RunDLL %1 " do I restart CPU or not?

Posted 2 years ago #
Top
 
LH
LH
Posts: 20002

exit regedit and reboot the computer

Posted 2 years ago #
Top
 
anselh
Posts: 11

didn't work, I don't think this works with XP =/

Posted 2 years ago #
Top
 
LH
LH
Posts: 20002

I will have a look on an XP machine tomorrow.

Posted 2 years ago #
Top
 
anselh
Posts: 11

Okay thanks

Posted 2 years ago #
Top
 
ScottW
ScottW
Posts: 6609

anselh, hello. Try creating a new file type. Go to Start -> Control Panel -> Folder Options (under Appearance and Themes in the category view). Choose the File Types tab, select New, type in the new extension "properties", and click OK. Then click the Change button and select Notepad or Wordpad to always open with:

Posted 2 years ago #
Top
 
LH
LH
Posts: 20002

OK. I have tested it on XP Pro SP2. And I can guarantee it works.

But ScottW's solution may be easier for you.

Posted 2 years ago #
Top
 
ScottW
ScottW
Posts: 6609

LH, what is it that you have tested -- a registry change? I would be interested to see it. Even if the instructions that I gave are easier, I always like to learn about modifying the registry.

Posted 2 years ago #
Top
 
LH
LH
Posts: 20002

ScottW. The link I posted about 6 up. And stop poaching on my territory :)

Posted 2 years ago #
Top
 
ScottW
ScottW
Posts: 6609

LH, since this file type association can be done without manually modifying the registry, I don't consider this poaching on your territory. So, nyah! :-P

Posted 2 years ago #
Top
 
LH
LH
Posts: 20002

ScottW. Just you stick with Command Prompt :D

Posted 2 years ago #
Top
 
ScottW
ScottW
Posts: 6609

Better yet, I can use my Command Prompt *and* poach on your registry territory. Mwah, hah, hah!

C:\>reg query HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explor
er\FileExts\.PROPERTIES /s

! REG.EXE VERSION 3.0

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.P
ROPERTIES
    Application REG_SZ  notepad.exe

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.P
ROPERTIES\OpenWithList
    a   REG_SZ  NOTEPAD.EXE
    MRUList     REG_SZ  a

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.P
ROPERTIES\OpenWithProgids
    ft000001    REG_NONE
Posted 2 years ago #
Top
 
anselh
Posts: 11

I have tried that method before ScottW and it did not seem to function at all.

Posted 2 years ago #
Top
 
LH
LH
Posts: 20002

In what way did it not function ? Did it not show up in the context menu ?

Posted 2 years ago #
Top
 
anselh
Posts: 11

It still won't change the extension to open in notepad

Posted 2 years ago #
Top
 
LH
LH
Posts: 20002

ScottW. Did you try it in XP ?

Posted 2 years ago #
Top
 



Topic Closed

This topic has been closed to new replies. Please create a new topic instead.


Create New Topic Return to Forum