English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How does MS Windows know which application to run when a user double clicks on a file? please elaborate.

2007-04-02 05:08:11 · 5 answers · asked by vip_woody 1 in Computers & Internet Software

5 answers

When an application (say, MS Word) was installed, it writes into the registry which types of files it will open (EX: Office.Word.Document.Type), and within that file type it registers all the different file extensions (EX:. DOC, RTF, DOT, etc.)

When a file of a certain extension is opened, Windows searched back, from extension, back up to the opening program, then launches that program and the file.

2007-04-02 05:13:58 · answer #1 · answered by Kasey C 7 · 1 0

All the provided answers are correct, and in case you were wondering how to change the application that opens any given filetype, right click the file, then goto properties, then find the "opens with" section, hit the change button and select your desired application. Hope this helps ;)

2007-04-02 05:18:14 · answer #2 · answered by Anonymous · 0 0

Because the file has been associated with the program that opens it! When you install a program, windows associates the files it uses with that program so when you try to open the file it will launch the program for you!

2007-04-02 05:13:14 · answer #3 · answered by Stuart B 3 · 1 0

It looks at the file extension, and compares it to a list of programs that can handle that type of file. Usually, windows comes with default choices (like Notepad for .TXT). Programs you install like winamp can override those defaults via manipulating the windows registry.

2007-04-02 05:18:46 · answer #4 · answered by The Tech Guy 3 · 0 0

Windows stores what is called "file association". This tells Windows what to open when a certain file type is clicked on: ex: .doc is Word, .pdf is acrobat reader etc....

2007-04-02 05:12:06 · answer #5 · answered by Just Bored!! 5 · 0 0

fedest.com, questions and answers