What command line switches exist for Notepad?
I found a few:
/A <filename> opens file as ANSI /W <filename> opens file as Unicode /P <filename> prints filename Are there others?
2 Answers
From Source of below info:
2...command line arguments notepad takes
/A <filename>open file as ansi
/W <filename>open file as unicode
/P <filename>print filename
/PT <filename> <printername> <driverdll> <port>
/.SETUPsome weird stuff is happening i cant identify...
/S suppresses the file-not-found prompt (you still get another prompt).
You can also use CMD.exe to control window size (and pipe input):
cmd.exe /c start /max notepad.exe c:/temp/toto.txt