Click to See Complete Forum and Search --> : file extension


bluesource
September 7th, 2001, 11:17 AM
Just wondering... where does Windows map the file extension type to an application when I click on that file?

i.e. I have an .asp file and when I click on it, it opens FrontPage, how can I change that to open a different application?

Rate this post if it helped.

SleepyRu
September 11th, 2001, 02:40 AM
For example, .txt

Run "regedit.exe" and see the following keys.

1. [HKEY_CLASSES_ROOT\.txt] = "txtfile"

2. [HKEY_CLASSES_ROOT\txtfile\shell\open\command] = "%SystemRoot%\system32\NOTEPAD.EXE %1"

Abhishek Pandey
September 20th, 2001, 07:35 AM
In the windows explorer you can go to View->Folder Options (or View->Options) in case of Windows NT/98/95 or Tools->Folder Options in case of Windows 2000 and click on File Types Tab there. It shows the various file types and the application names by which they 'open with' by default. you can choose 'edit' and then 'edit' again for the action 'open' to change the name/path of the executable which is used to open the program by default.

Hope is Helps.