notepad.exe
Creates a new empty document.
notepad.exe Filename
Opens the specified file.
notepad.exe /p Filename
Prints a file on the default printer.
notepad.exe /pt "%1" "%2" "%3" "%4"
Prints a file on the specified printer. Used by the Shell to support drag-and-drop to printers.
%1 represents the file name and %2 the printer name. You can ignore %3 and %4 for Windows 95 and later systems. For Windows 3.1 systems, %3 represents the driver name and %4 the port name. Unlike most similar arguments, the %3 and %4 arguments of printto should not be enclosed in quotation marks. |
|