Minimize a window when running a .bat
Solved
Hello, I created a .bat file that opens a music file, I managed to set the execution of the .bat file to minimized mode but the music still opens in the player and the window opens fully on the screen.
Is there a way to minimize a window with a command in Batch?
There are many forums on this subject but I can't find anything that I can understand!
I'm not very good at Batch.
Thank you in advance for your answers.
Is there a way to minimize a window with a command in Batch?
There are many forums on this subject but I can't find anything that I can understand!
I'm not very good at Batch.
Thank you in advance for your answers.
3 answers
-
Hello,
If you no longer need the back window, put exit after starting your music.-
-
Contributor@Ancor17It's not possible, there is no internal command to do that.
You have to rig things to achieve the desired result.
-
-
ContributorHello,
Which reader is it about?
--
“Artificial intelligence is defined as the opposite of natural stupidity.”-
-
Contributor@Ancor17It's not because you don't understand that it can't help you.
I'll start again: which music player? -
-
-
Contributor@Ancor17I'm sorry, it's not possible to minimize the window with this player; I suggest you use VLC Portable available here:
https://www.commentcamarche.net/telecharger/tv-video/23317-vlc-media-player/
You need to install it on your USB drive.
Give me the name and location of the music on your drive, and I'll prepare the script for you.
-
-
There is an execution error, I checked that the executable in the VLC folder is indeed named VLCPortable.exe.