How can I find the default software on a computer?

This is a discussion on How can I find the default software on a computer? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hi, How can I find the default software on a computer? For example default media player, web browser, etc... Thanks...

  1. #1
    Unregistered
    Guest

    How can I find the default software on a computer?

    Hi,

    How can I find the default software on a computer? For example default media player, web browser, etc...


    Thanks

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Do you mean default extensions??? (IE .doc opens M$Word?)

    And then do you mean Windows?

    If yes to both above, go to the registry and look for a key called HKEY_CLASSES_ROOT.....In here there's a key for every extension registered...

    Here's a way to find the app that runs it (using WinRAR as an example)

    Here the key is called .RAR (as it opens rar files)....it has a default value that's called "Winrar". Now this means there's another key called "Winrar". Find that and under it you'll find a key called "shell" and under that is an entry for each command you get when you right click the file ("open","print"...whatever)....in each of these is a "command" key with a default with the App name ...IE "C:\Program Files\WinRAR\WinRAR.exe" "%1" therefore this is the same as typing "C:\Program Files\WinRAR\WinRAR.exe myfile.rar" in the run box....

    Bit round and about....but that's one way

  3. #3
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804
    or you can just go to start > settings > folder option
    select the file type tab, select a file type and it should tell you what the default opener is.
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Originally posted by Commander
    or you can just go to start > settings > folder option
    select the file type tab, select a file type and it should tell you what the default opener is.
    LOL....I assmued he wanted to do it with code......maybe he didnt

    Ah well!

  5. #5
    Unregistered
    Guest
    what I am actually trying to do is change the web browser...and I am still trying.

  6. #6
    Christian
    Join Date
    Mar 2002
    Posts
    618
    What browser

    For opera
    File->Preferences...->Defult Browser
    I shall call egypt the harmless dragon

    -Isaiah 30.7

  7. #7
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804
    almost all browsers have a button called "Make Default Browser" somewhere in the preferences\options, look around, you'll find it!
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  8. #8
    Unregistered
    Guest
    Actually I am making my own browser. And I am trying to make it so that the user can set it to by the default.

  9. #9
    Registered User toaster's Avatar
    Join Date
    Apr 2002
    Posts
    161
    if the program is suited for Windows then listen to Fordy's post cuz <windows.h> is what you'll need to play around with the registery since that's all I know of.
    think only with code.
    write only with source.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How Can I Find the Default Browser?
    By DeepFyre in forum Windows Programming
    Replies: 2
    Last Post: 02-12-2005, 06:55 PM
  2. Computer will not boot.
    By RealityFusion in forum Tech Board
    Replies: 25
    Last Post: 09-10-2004, 04:05 PM
  3. Replies: 5
    Last Post: 04-16-2004, 01:29 AM
  4. linked list recursive function spaghetti
    By ... in forum C++ Programming
    Replies: 4
    Last Post: 09-02-2003, 02:53 PM
  5. Juno EULA
    By Govtcheez in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 09-28-2001, 07:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21