Originally posted by Paul Keohan: How can I run a DOS command from Java? For example, DIR...
Runtime.getRuntime().exec("NotePad.exe "); I think this command can run windows command like Notepad but it can not run dos command like dir. I did not succeed to run dos command.
The human mind is a dangerous plaything. This tiny ad is pretty safe: