New
#1
Can't Run .Bat Files
I try to run .bat files and the just run in note pad. There is no "open with" option.
I try to run .bat files and the just run in note pad. There is no "open with" option.
Mind posting one .bat file for testing? If it won't post just post the .txt version. I just created a simple .bat file called Time.bat, consists of just 2 lines, date and time, then saved it. Double-clicking ran it. More complicated .bat files can be problematic. Then to be funny I added DIR /O/S to it then a last line with Pause, with a lot of data on the drive it runs for awhile.
I tried different bat files its not something wrong with the bat file. Its windows not knowing what to do with it. I tried going in to regedit to delete the .bat user choice but it still just just opens it in note pad.
use the .cmd extension instead of .bat
It's always good to try applications on a different computer or two to see if it is the file or if the problem is with Windows.
Have you tried Control Panel, Default Programs? This is what mine is:
Attachment 76390
Hi, have a look here:
Default File Type Associations - Restore in Windows 10 - Windows 10 Forums
With that page open CTRL F, then type bat <Return> to find 'bat'- you be able to download a reg file.
Download it, rt click, and click Merge.