Register a file to be automatically opened with a specific program

This is a discussion on Register a file to be automatically opened with a specific program within the Windows Programming forums, part of the Platform Specific Boards category; As the title says, how can I use the registry to specify with what program a file should automatically be ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    13

    Register a file to be automatically opened with a specific program

    As the title says, how can I use the registry to specify with what program a file should automatically be opened with ?

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    http://www.google.com/search?q=register+file+type

    HKEY_CLASSES_ROOT\.XXX\Default = "YOURFILETYPE"
    HKEY_CLASSES_ROOT\YOURFILETYPE\Shell\Open\Command\ Default = "C:\YOURAPPLICATION.EXE %1"

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  2. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  3. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  4. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

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