How do I create a new file with NppExec in Notepad++?
In Notepad++, I would like to create a new file and then put the contents of another file in that new file.
This is possible by creating a macro, but the pr开发者_运维百科oblem is, I have to copy-paste the contents, losing whatever was on the clipboard before, and I don't want that.
So I looked at NppExec. With NppExec, I can put the contents of another file in the currently open file, but I can't seem to find any function to create a new file.
I don't think that is built into NppExec yet, but you can sort of get around it by using npp_open with a file name that does not exist.
精彩评论