To set a Default file opener through registry

chaitanya051

New member
Local time
4:55 AM
Messages
7
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 My Computer

OS
windows 7 32 bit
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 My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Virtual Machine
OS
Windows 7 Professional 32-bit SP1
CPU
AMD A4/A6
Motherboard
Intel Corporation 440BX Desktop Reference Platform
Memory
3.00GB EDO
Graphics Card(s)
VMware SVGA 3D
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic Non-PnP Monitor on VMware SVGA 3D
Screen Resolution
1440x900
Hard Drives
1 x 60GB VMware Virtual SATA Hard Drive ATA Device
Antivirus
Kaspersky Total Security
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 My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custome build
OS
windows 7 professional x64
CPU
athlon 2
Motherboard
asus
Memory
16GB
Graphics Card(s)
radeon hd7750
Hard Drives
crucial ssd
Antivirus
malwarebytes
Browser
ie

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
Back
Top