1.

Solve : Hide window??

Answer»

I know this is a very common question, and there are a lot of answers, however I try to hide (not minimize!) a jar file that run trough the console.
-I don't want to use a shortcut that has properties of minimized/hide, 'cause it should go automaticly hidden on startup
-If I use the visualbasic-scripts from the internet, then the cmd.exe process keeps opening (under windows vista home premium edition), and the process that launches the script (vbscript.exe) keeps GETTING multiplied.
-If I use a external command (that you should add in your windows folder) then I get the error: unknown window handler

Does anyone have ANOTHER IDEA (that would WORK under winvista) to hide my dos window?echo CREATEOBJECT("Wscript.Shell").Run """" ^& WScript.Arguments(0) ^& """", 0, False>a.vbs
wscript.exe a.vbs yourfile.bat


run a .bat file invisible with the above, im assuming this is what you want.. you need to hide the console and not the jar file right?



Discussion

No Comment Found