How to run a batch file without displaying the window
Solvedbarnabe0057 Posted messages 14329 Registration date Status Contributor Last intervention -
Hello, I would like to know how to open a batch file without displaying the command prompt window and especially in the foreground.
That is to say, the window does not appear and I have already tried VBS scripts but I can no longer write in the window, and I want the command prompt window to be brought to the foreground while remaining invisible when I open a program.
My goal would be to create a batch file where it is always possible to write in it without seeing it.
1 answer
-
Hello,
I don't understand anything: to launch a batch file without seeing the window, the most common solution is to create a shortcut that runs in minimized mode in its properties.
But if the command prompt is in the foreground, by definition, it is not invisible.
If we want to write in a batch file without opening it, we redirect the commands from another: in the first batch or at the command line, I can for example write echo it's nice>test.cmd