Running native OS commands
Is there any way to run external commands from a Java application? And capture the output of those commands?
Just as an example, say I wanted to list the contents of a directory using the DIR command in windows, then capture the output and reformat it, or stick it into a GUI.
(That's not what I'm doing, it's just a simple example of what I want)

