This is a question with a rather small scope, but I'm running a lot of windows command prompt commands that involve using the admin password. I can either have part of the command be "/user:administrator /password:examplepassword", where examplepassword is in plaintext, or I can just have "/user:administrator", and it prompts me for the password, which I then enter masked (*******).
So, my question is simply this: is entering the password in the plaintext secure? (obviously besides the simple over-the-shoulder insecurity of it). Are command line arguments saved anywhere on the computer after a command prompt session is closed?
Thanks!