windows - open command prompt in hidden mode through java -


i want open command prompt through java , perform task. want open command prompt in hidden mode.

command = "cmd.exe /c start doxygen " + strdoxyfilepath;   process p=runtime.getruntime().exec(command); 

please try following command start program minimized

command = "cmd.exe /c start /min doxygen " + strdoxyfilepath;  process p=runtime.getruntime().exec(command); 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -