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
chaitanya051

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
Dzomlija

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
jhmpub

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
Layback Bear

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
Thread Forum
Cant Change Default Program opener for .fsh files
I have a problem to where I accidently changed what opened the .fsh files to be opend by the cmd.exe (Command Prompt) and i can't change it back. (It used to be opened by Windows Shell common dll) View image: Capture
General Discussion
File opener for ".pff" format
Just recently got Delta Force Black Hawk Down Team Sabre. I had this game a year ago but I somewhat accidentally deleted it but a week ago, I got a copy of it again. I still remember how to make/mod maps but I don't know how to mod the game itself. Now the file format is .pff; googled around and...
Software
Can anyone give me the default registry settings for the .ani file?
The story goes like this.. My bro, did something with the computer. After whatever he did. The default icon of the .ani files changed into a blank paper icon. I usually see in it's own icon.. Also the file type got weird.. Something like this.. (Name) ~ (Type) hotsage.ani ~ Cursor It turned...
Backup and Restore
Excel File and Program default association problem (registry looks ok)
Everything looks okay under the registry (I think) and assoc shows provides the correct output. When I try to manually edit this under the control panel, it will not let me choose "EXCEL" it will not let me choose that file. Does anything stand out as being out of help here? > assoc .xlsx...
Microsoft Office
how do i know if my registry is good/default...
Hello, i was wondering if my registry was good/defauly because about 5 months ago a friend of mine was messing with my pc since i tried to downgrade to wmp 11 since i didnt like wmp12. he had trouble doing it it and i don't know if he saved the regitry once he changed it or not. feedback would be...
General Discussion
How Do I Make Firefox The Default Opener?
I set it to default but everytime i get a email and open it, it still opens in Internet Explorer, how do i change that?
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 02:29.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App