联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
C:\WINDOWS\system32\NOTEPAD.EXE /p yourfile
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.