- I have .mp3 converted as .exe to make it as self playing its done.
- But a window is appearing while music is playing.
- I want to hide that window while music is playing [only using .bat file code]
- So please help me for the .bat file code
Asked
Active
Viewed 372 times
0

Passionrajkumar
- 1
- 1
1 Answers
1
There is no way to hide a window in pure batch, your best alternative is to relaunch yourself (the .bat) with the START command and the /MIN switch, this would run it minimized and not hidden (You would use a special parameter and check %1 to see if you need to relaunch or not)

Anders
- 97,548
- 12
- 110
- 164
-
+1, It seems to be correct for pure batch, but it's possible with a batch/wsh hybrid (like zerg and protoss hybrids :-) ) – jeb Apr 13 '11 at 21:12
-
If someone wants to go the batch/WSH hybrid route: http://stackoverflow.com/questions/2591310/is-there-a-short-cut-for-desktop-folder-in-windows-batch/2592639#2592639 – Anders Apr 13 '11 at 21:44