Notepad.exe command line options

Is there a list of available command line options for notepad.exe?

I would like to use notepad in only display mode without any options, read only mode, without file options. 

 

Answer
Answer

There is but a limited set of command line options:

  • /A <filename> open file as ansi
  • /W <filename> open file as unicode
  • /P <filename> print filename
  • /PT <filename> <printername> <driverdll> <port> print filename to designated printer

There is no switch to disable file menu functionality.

 

Tom Ferguson

 

 

81 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated January 24, 2021 Views 78,651 Applies to: