I have two files in the same folder that I\'d like to run. One is a .txt file, and the other is the program shortcut to an .exe. I\'d like to make
.txt
.exe
I use
@echo off Start notepad "filename.txt" exit
to open the file.
Another example is
@echo off start chrome "filename.html" pause