Question about the Command Prompt

gabrielkfl

New member
Local time
7:51 AM
Messages
3
I wasn't sure on where to post this, so I'm posting here. Mods, please move this to the right section.

I accidentally set a file format (.jar) to be opened always with the command prompt, now I cannot change it back (the checkbox for "always open with" is disabled).

What I wanted was to leave the prompt in the Open With tab when I right click the file, but it still won't show up there, and I cannot change my .jar back to "Open with javaw.exe".

Is there any place in the Control Panel where I can change this back?
 

My Computer My Computer

OS
Windows 7/XP
I wasn't sure on where to post this, so I'm posting here. Mods, please move this to the right section.

I accidentally set a file format (.jar) to be opened always with the command prompt, now I cannot change it back (the checkbox for "always open with" is disabled).

What I wanted was to leave the prompt in the Open With tab when I right click the file, but it still won't show up there, and I cannot change my .jar back to "Open with javaw.exe".

Is there any place in the Control Panel where I can change this back?
Hello gabrielkfl, and welcome to Windows Seven Forums.

The quickest way I found to do this is to type file in the start search box and select the appropriate link:

change_file_type_01.png

Cheers!
Robert
 

My Computer My Computer

OS
...

My Computer My Computer

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
Thanks for the help, but the Default Programs thing (which was the suggestion from both of you) works fine for other programs, but it still cannot rollback the .jar opening with the Command Prompt.

Now, this reinstalling thing might work. I'm pretty sure WinRAR installer suggests the .jar format, I'll try reinstalling it (If I can change it from the prompt to winrar, I might be able to change it to JRE again without uninstalling java).

EDIT: No good. Still opens with the prompt.
 

My Computer My Computer

OS
Windows 7/XP
Give this REG download below a try. It should remove the default program settings set by you and leave only the default. Afterwards see if it is back to the default, or if you can change it.

This is what's in the REG file:
Code:
Windows Registry Editor Version 5.00
 
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jar]
 

Attachments

My Computer My Computer

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
THANKS!!!! :D:D:D

It worked. XD
Finally...

Thanks everyone. ^^
 

My Computer My Computer

OS
Windows 7/XP
You're welcome Gabriel. I'm happy to hear that you got it sorted. :)
 

My Computer My Computer

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