Load A New File From Template In Notepad++
Labels:
HowTo,
Notepad++,
Software
6
comments
What are needed:
- htmlTemplate.htm: Your html template
- nppNewHtml.bat: a .bat file looking like this:
copy d:\html\htmlTemplate.htm d:\html\new.htm
"C:\Program Files\Notepad++\notepad++.exe" d:\html\new.htm
Save nppNewHtml.bat in, for example, d:\html.
In Notepad++, go to menu [Run], or hit [F5].
In the input box shown under the title [Type your program to run here], enter:
d:\html\nppNewHtml.bat
Hit [Save] to save it to a run menu item (give it a name like "new html").
From now on, you can go to the [Run] menu and find an item called "new html" that allows you to open a new html file based on your template.