Do you know the name of the file that runs batch file in windows?
I need this because recently I got in trouble after creating a new file extension ".BAT" from Windows Explorer's Folder Options->File Types and told that TextPad will run the .BAT extension files. However, now I can't use the double-click approach to run say
Tomcat startup.bat file because when I click it, TextPad opens the file so its not run. I have to open cmd now and from there type startup to run tomcat. The .BAT is not shown in the file types list and so at first I couldn't even change it.
To get rid of it. I tried uninstalling TextPad, creating another .BAT extension and tell to run it through WINNT/system32/cmd.exe. CMD.EXE then opens as expected a command wondow but does not run it.
So I think if I can get the name of the batch file runner, I can reassign that filename.exe (if exe at all
) to run .BAT again.
Any help?!?!