-2

Are there command line options in the new UWP app (using a richedit class) similar to those for the Notepad of Windows 10 and previous? e.g.

/A open file as ansi
/W open file as unicode
/P print filename
/PT print filename to designated printer

6
  • 1
    Have you tried them in Windows 11? May 9 at 7:44
  • No, Windows 11 isn't installed yet. May 9 at 8:55
  • Try installing Windows 11 and then ask. I am on Windows 11 here and notepad command lines are reasonably the same as prior versions.
    – John
    May 9 at 12:33
  • You have lodged a comment in the Moderator's forum that "Command lines don't work for some" . I have given you a complete answer and Notepad Command lines work in Windows 11. To troubleshoot issues beyond that, you need to be working in Windows 11.
    – John
    May 9 at 13:34
  • @John- Not command lines, rather the question has bruised the sensitivities of our frequent readers. Turns out Notepad command lines have touched some nerves it seems. May 9 at 14:34

1 Answer 1

1

There is a limited set of Notepad commands (not a common use of Notepad).

NotePad commands

Recognized Answer

There is but a limited set of command line options:

/A open file as ansi /W open file as unicode /P print filename /PT print filename to designated printer There is no switch to disable file menu functionality

I have tested /A /W and /P on my Windows 11 Pro machine, and they all work. I did not want to try /PT print filename to designated printer

==============

So to your question: Windows 11 Notepad: Command Line Options?

Same in Windows 11 as in Prior Operating systems. No apparent change.

To troubleshoot USER issues, you will need to be using Windows 11 yourself.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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