简体   繁体   English

在 Notepad++ 中打开文本文件的批处理脚本

[英]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++.我基本上有一个文件,例如, something.txt ,我希望能够使用 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.我曾尝试在批处理文件中使用start命令,但我不太明白,所以我才来问你的。

试试这个(不要忘记双引号)

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM