Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Batch script to open a text file in Notepad++

I basically have a file, for example, something.txt, and I want to be able to automatically open up that file using Notepad++.

I had atempted using the start command in a batch file, but i didnt understand much, so I just came here to ask you.

like image 332
TheRed Avatar asked Nov 20 '25 15:11

TheRed


1 Answers

Try this (don't forget the double quotes)

"C:\Program Files\Notepad++\notepad++.exe" something.txt
like image 84
Michael S Avatar answered Nov 24 '25 22:11

Michael S



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!