hi, i have a doubt,how to execute msdos commands from java application. server & so many clients r there. Then for example how the server can restart the client system by using msdos commands.
Chandhana, Welcome to the Ranch! Our Naming Policy requires users to have both a first and last name. Please go to your profile and change your display name to follow our policy. Thanks!
you can call the Process p = Runtime.getRuntime().exec(dosCommand) which will start a new process to execute your dosCommand. And also wait for the process to complete before doing any thing else by calling the p.waitFor() which makes the program to wait for the above process to be completed before going to the next step.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.