Lucas Willems
Lucas Willems

Reputation: 7063

Start cmd.exe with echo off on Windows

I would like to know how to start a cmd.exe window with echo already turn off. For example, I have the following Command line :

start cmd /k test.exe

which start test.exe in a new cmd window. But in this cmd window, echo is on.

Is it possible to start test.exein a new cmd window where echo is off ?

Upvotes: 2

Views: 5704

Answers (1)

Thomas
Thomas

Reputation: 181745

> cmd /?
...
/Q      Turns echo off
...

So this should do the trick:

start cmd /q /k test.exe

Upvotes: 5

Related Questions