Dmitriy 5, 12 12 gold badges 23 23 silver badges 37 37 bronze badges. That doens't work on my pc. But I retried my original command the one I posted in the question. It didn't work then, but now it does. Maybe due to some update? This is great on Windows 7! Its actually not so simple. Toby Allen Dragonthoughts 2, 8 8 gold badges 22 22 silver badges 25 25 bronze badges.
The answer is simple. Just look at the image. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks. Rick Fithen Rick Fithen 41 1 1 bronze badge. Endoro Endoro Aacini Aacini 61k 12 12 gold badges 65 65 silver badges 97 97 bronze badges. Community Bot 1 1 1 silver badge. Sign up or log in Sign up using Google. Sign up using Facebook.
Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. To run a different script, delete the INI file or hold Shift while launching the tool and it will popup the file requester. The INI file name will match the EXE file name so you can have differently named occurrences of the tool in the same folder. Any useful feedback you have about the tool is welcome.
Download Silent Batch Launcher. Note: Because this tool was created with Autoit, it does create some false positives with online virus scanners like VirusTotal. Hiding the batch script console window using Visual Basic is quite similar to using an external command and works in basically the same way. Launch the VB script and supply the batch file as an argument, then the code runs the script while not showing any output.
It can be done with a single line of code. Create an empty text file, copy and paste the above line then save it as a. Alternatively, download launchquiet.
To add it to a shortcut or a startup location etc, use the commands in the following way. If you would like to supply an argument for the batch file, the piece of VB script has to be altered slightly by changing the two sets of four double quotes to two sets of two.
That SilentCMD app is a gem. In just 14kb. You missed a tool that has been around for 16 years. It saved me a 2 minutes popup every 10 minutes :. Charles Nelson 8 months ago. However cmd still show up. Is there a way cmd can start minimized? Assuming you have win32api for your Python, use win32process. CreateProcess for greater control over process creation. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?
Collectives on Stack Overflow. Learn more. Force a program to start minimized Ask Question. Asked 9 years, 9 months ago. Active 6 years, 11 months ago.
0コメント