To keep in line with your current example, I would add the following:
START "" notepad.exe C:\Projects\batch\hi.txt
because what you really want to do is open notepad and pass in a parameter, in this case it’s the filename. Athom’s solution may work also, but this one just sprung to mind.
If you want to wait for notepad to close before you finish:
START "" /wait notepad.exe C:\Projects\batch\hi.txt
The title of the new batch window is inside the quotes, in my examples I don’t need a title so I leave it blank. I think the
START command expects one, so it might be mandatory.
I also suggest learning powershell when your done, the words power and shell really describe it’s usefulness. I wouldn’t say give up on batch though because right now some things are just easier in batch. Also at this point powershell can’t return negative exit codes which just sucks, but I digress.
.txt does not require the start command.
Just call it:
Other formats DO require the start, for example csv I use start.