How do I execute Windows commands in Java? -


i'm working on project, , give list of windows commands. when select one, perform command. however, don't know how that. going in visual c#, or c++, c++ classes complicated, , don't want make forms , junk in visual c# (really bad @ console applications).

i hope helps :)

you use:

runtime.getruntime().exec("enter command here"); 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -