Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - To set a Default file opener through registry

 
11-30-2010   #1


windows 7 32 bit
 
 

To set a Default file opener through registry

Hello,
I am looking for a way to avoid the propmt or application list that pops up upon clicking a .pdc file.
I would like to fix a default application to be the one to open all my .pdc files.
I would like to make this change through a registry entry preferably. Even a script solution is fine.

I want to do this via modifications to registry or by running a script. I want these settings on my client machines, so there is no question of right clicking. These are silent steps.
I am looking for preferably a VB Script that when run sets a default file opener for an extension.

Any help would be appreciated.
Thanks in advance.

My System SpecsSystem Spec
11-30-2010   #2


Windows 7 Ultimate x64
 
 


Quote   Quote: Originally Posted by chaitanya051 View Post
Hello,
I am looking for a way to avoid the propmt or application list that pops up upon clicking a .pdc file.
I would like to fix a default application to be the one to open all my .pdc files.
I would like to make this change through a registry entry preferably. Even a script solution is fine.

I want to do this via modifications to registry or by running a script. I want these settings on my client machines, so there is no question of right clicking. These are silent steps.
I am looking for preferably a VB Script that when run sets a default file opener for an extension.

Any help would be appreciated.
Thanks in advance.
It's not a script, but try this:

Code:
 
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.PDC]
@="Custom_PDCFile"

[HKEY_CLASSES_ROOT\Custom_PDCFile\Shell\Open\Command]
@="\"C:\\Program Files (x86)\\PDC File Application\\pdcopener.exe\" \"%1\""
Copy an paste the above into Notepad, make the appropriate changes, and save it as "pdc.reg"

Note the folloowing changes MUST be made:
  • Custom_PDCFile must be change to somethng else THAT DOES NOT ALREADY EXIST IN THE REGISTRY
  • All @= values must be enclude in quotes. If the specified value itself contains quotes, then use \" to differenciate them
  • When adding path names, be sure to change all \ path delimiters to \\
My System SpecsSystem Spec
Reply

 To set a Default file opener through registry problems?



Thread Tools



Similar Threads for: To set a Default file opener through registry
Thread Forum
Restore default registry permissions Crashes and Debugging
Default user and Registry Questions Installation & Setup
how do i know if my registry is good/default... General Discussion
How Do I Make Firefox The Default Opener? Browsers & Mail


All times are GMT -5. The time now is 11:08 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30