I want to be able to paste a bunch of commands into the command prompt, but NOT show the commands that I'm typing (responses from the commands can show though).

I know this is easy to do with a batch file, but I have been given some specific requirements that the commands be copy/pasted into the command prompt. I hate seeing all of that extra junk show up and looks ugly and confusing to end users.

I swear there was some @ command or something to do this, but I can't for the life of me remember what it is now.

  • The @ command you're thinking about is for silencing the output of commands from a batch script. If you're copying into command prompt, I don't see how it can't show up (with stock cmd). – armani Apr 7 '15 at 16:53
  • @armani it can be done. Writing my answer as I type this. :) – LPChip Apr 7 '15 at 17:22
  • Also the command is @echo off which is for batch scripts, not for the command line itself. – LPChip Apr 7 '15 at 17:29
  • 1
    The @ prefix suppresses output ('turns echo off') for any command that follows, not just @echo off. It's just most commonly used as @echo off to shut off echoing for an entire script. – hBy2Py Apr 7 '15 at 17:45
  • I know about the echo off and the "@" symbol. This was something different... think it had Local in the name... Now that I'm thinking about it though, I'm wondering if it was just for telnet... – BondUniverse Apr 7 '15 at 19:12

When you have your command prompt open, click the command icon in the top left of the window to access the menu.

Choose Properties to access the properties.

Click the dark grey color (8th one) between the light grey and blue color)

Set the Red, Green and Blue values all to 0, to create a 2nd black color.

This is to be able to do this on command next time if you want.

Hit OK to go back to the command prompt.

Now the following command will hide all info:

color 08

You can type what you want, but the output and what you type is all black.

Type CLS to clear the screen when you're done.

Type color 07 to restore it to black, grey and see how the entire screen is readable again (including what was previously posted).

To be sure you cannot retreive the commands, close the command screen by typing exit or clicking the [x].

| improve this answer | |

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.