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

 

 

79 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 November 27, 2020 Views 77,629 Applies to: