How to run a batch file without displaying the window
SolvedHello, 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-
-
@barnabe0057
Hello,
Hmm...
The request is indeed not very clear, but you are my witness that, even if it were about implementing a keylogger or some other piece of junk, if it is found online, adapting and making a batch work, whatever it may be, is not ready to use and requires a lot of learning and testing. -
@brucine
I confirm that the implementation requires a minimum of knowledge; it is not within the reach of just anyone.
-