BAT Files - Add "Open with" to Context Menu

How to Add "Open with" to Context Menu of BAT Files in Windows


   Information
This will show you how to add Open with to the right click context menu of BAT files for all users in Vista, Windows 7, and Windows 8.

You will need to be logged in as an administrator to be able to do the steps in this tutorial.


EXAMPLE: "Open with" in BAT Context Menu and Open with
Context-menu.jpg


Here's How: 1. To Remove "Open with" from the Context Menu of BAT Files
NOTE: This is the default setting. A) Click/tap on the Download button below to download the file below, and go to step 3 below. BAT-remove_Open_with.reg

Download


2. To Add "Open with" to the Context Menu of BAT Files A) Click/tap on the Download button below to download the file below, and go to step 3 below. BAT-add_Open_with.reg

Download


3. Save the .reg file to the desktop.

4. Double click/tap on the downloaded .reg file to merge it.

5. When prompted, click/tap on Run, Yes (UAC-Windows 7/8) or Continue (UAC-Vista), Yes, and OK to approve merging the .reg file.

6. You can now delete the downloaded .reg file if you like.

That's it,
Shawn




 

Attachments

Last edited:
Thanks, it will be very useful. :D
 

My Computer My Computer

At a glance

Windows 10 Professional X64Intel Core I7-77008.00 Gb
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built Desktop
OS
Windows 10 Professional X64
CPU
Intel Core I7-7700
Motherboard
ASUS H110M-A/M.2
Memory
8.00 Gb
Screen Resolution
1280 X 1024
Mouse
Microsoft USB Confort Mouse 3000
Internet Speed
30 Mbps
You're welcome SC. :)
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
awesome! allows me to remove the "edit" entry for everything. Before I had to remove it from everything BUT batch files.

One issue.

How do I get a telescoping "open with" persay? Like the rest of the files? Open with opens up to a few programs or a Choose Default Program option. The reg file you provided creates just a plain "Open With" that has no option to telescope over to the preferred program or the option to choose.

Does that make sense?

Thanks guys!!
 

My Computer My Computer

At a glance

8.14770k32gb DDR3Quad-SLI GTX Titan SC
Computer type
PC/Desktop
Computer Manufacturer/Model Number
HomeGrown
OS
8.1
CPU
4770k
Motherboard
OC-Force
Memory
32gb DDR3
Graphics Card(s)
Quad-SLI GTX Titan SC
Hard Drives
256gb Samsung EVO x 2 RAID0
2tb Seagate Barracuda x2 RAID0
Antivirus
YeaRight
Browser
IE
I haven't found a way to make the "Open with" expandable yet for this. :(
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
lol ah well, if you havent found a way - i reckon nobody has. Its still preferable to having to use Edit for this one and only item imo.

Please post back if you do find a way :) I tried to associate a different file type with it in an attempt to create a list but ended up annihilating my batch associations and am working towards fixing it as we speak lol.
 

My Computer My Computer

At a glance

8.14770k32gb DDR3Quad-SLI GTX Titan SC
Computer type
PC/Desktop
Computer Manufacturer/Model Number
HomeGrown
OS
8.1
CPU
4770k
Motherboard
OC-Force
Memory
32gb DDR3
Graphics Card(s)
Quad-SLI GTX Titan SC
Hard Drives
256gb Samsung EVO x 2 RAID0
2tb Seagate Barracuda x2 RAID0
Antivirus
YeaRight
Browser
IE
Will do. :)
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top