Share via

Notepad.exe command line options

Anonymous
2012-12-15T15:51:54+00:00

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.

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2012-12-15T16:20:26+00:00

    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

    100+ people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2017-05-09T15:40:14+00:00

    Is there a switch for New Instance?

    I'm trying to create a .lnk file with Ctrl+Alt+N combination that will make new instance each time this combination is pressed?

    5 people found this answer helpful.
    0 comments No comments