Windows start hidden
Right-click on the shortcut icon and choose "Properties. I found this solution : Create a launch. Shell" WshShell. Shim-Sao Shim-Sao 1, 2 2 gold badges 15 15 silver badges 20 20 bronze badges. Zimba Zimba 1, 12 12 silver badges 17 17 bronze badges. Create a VBScript file as a shell to start it.
Shell" WSH. Arguments 0 , 0, False You may want to embed this as a Here Document in your batch file. Make sure that wscript. Using wscript. In general you need quotes around the argument, e. Otherwise CMD will mess up the quoting when it strips the first and last quote in case the command starts with a quoted path for the executable and there's at least one more quoted argument in the command line.
Use AutoHotKey file. Download and install AutoHotKey first. This way, you can attach the 3. The start method can only be used in a bat, which can't be added to taskbar or changed icon. Hahahrf Hahahrf 69 1 1 silver badge 6 6 bronze badges.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. 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. Novabin 1 year ago. Alex Gorky 1 year ago. HAL Author 1 year ago. Mike 11 months ago. Alex 3 years ago. Yasser 3 years ago. Kiran Vadday 3 years ago. Jeremy 3 years ago. Nagesh 3 years ago. Myself 3 years ago. HAL Author 3 years ago. Jeerapong Putthanbut 3 years ago. Squashman 3 years ago. Me 4 years ago. Nasser 4 years ago. Asked by:. Archived Forums. Windows Forms General. Sign in to vote. I want to make a program which could be started in the hidden mode.
I tried to make this happen by making the visible property of the form to false in the constructor of the form, but this is not helping. Run new Form1 ; This code displays the form.
So can anybody suggest me the way to hide the form as the program loads?? Friday, December 2, PM. Initialize ; Application. Run f ;.