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

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -