Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

From Source of below info:

...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>
/.SETUP some weird stuff is happening i cant identify...

share|improve this answer
-1 for even mentioning the hyphened site! How dare you? (Joking) –  Lucas McCoy Apr 16 '10 at 21:42
Judging by this page: spic.net/hplx/windows/win3.0/disk1/setup.inf the /.setup switch was used during the automated setup of verrry old versions of Windows. –  sahmeepee May 14 '11 at 8:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.