TheRed
TheRed

Reputation: 71

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.

Upvotes: 3

Views: 10700

Answers (1)

Michael S
Michael S

Reputation: 880

Try this (don't forget the double quotes)

"C:\Program Files\Notepad++\notepad++.exe" something.txt

Upvotes: 3

Related Questions