Question

I have a program the opens a window, reads a config file, then closes the window a fraction of a second later, then continues running in background. I want to be able to start this program one way or another without the window appearing in the first place.

Is there a way for me to launch the program (preferably on PC startup) but suppress any windows it creates?

I do not have the source code for the program in question. In that regard I am an end-user.

Was it helpful?

Solution

use a vbs script to open it:

set obj = createobject("wscript.shell")
obj.run "prog.exe",0,false

call that prog.vbs or whatever, and put it in:

"%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\startup"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top