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

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -