
Quote: Originally Posted by
chaitanya051
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 \\