Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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

30 Nov 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
.

30 Nov 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
14 Mar 2013   #3

windows 7 professional x64
 
 

Windows offers command line utilities that can be executed from a batch file to accomplish the same thing:

ftype Custom_PDCFile="C:\Program Files (x86)\PDC File Application\pdcopener.exe" "%%1"
assoc .pdc=Custom_PDCFile
My System SpecsSystem Spec
.


14 Mar 2013   #4

Windows 7 Pro. 64/SP-1
 
 

I know very little about such things but I did find this.

How to open PDC files protected with LockLizard DRM software

http://answers.informer.com/11552/ho...a-pdc-to-a-pdf

Could you tell us what exactly you are trying to unlock? What PDC files?
My System SpecsSystem Spec
Reply

 To set a Default file opener through registry




Thread Tools



Similar help and support threads for2: To set a Default file opener through registry
Thread Forum
Solved Can anyone give me the default registry settings for the .ani file? Backup and Restore
SRT opener? Software
Excel File and Program default association problem (registry looks ok) Microsoft Office
Restore default registry permissions BSOD Help and Support
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

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 06:36 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 31 32 33