To set a Default file opener through registry


  1. Posts : 7
    windows 7 32 bit
       #1

    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 Computer


  2. Posts : 1,261
    Windows 7 Professional 32-bit SP1
       #2

    chaitanya051 said:
    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 Computer


  3. Posts : 2
    windows 7 professional x64
       #3

    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 Computer


  4. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #4

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 10:19.
Find Us