Question

I have a program. The program had open a console window to display logs when it is started. I dont like this window, but no source code. So, how to hide this console? such as modify exe file?

Was it helpful?

Solution

You can start it hidden.

I use this little VBScript code to do it. Create a start hidden.vbs file in the same folder of your program.exe and write this code in it:

Set oShell = CreateObject("WScript.Shell")
oShell.Run "program.exe", 0

Run the start hidden.vbs and it should start the program hidden. The process will be only visible in the Task Manager.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top