I know very well how to execute commands via Runtime.getRuntime().exec(command) and handle the output, but this is VERY limited.
Take Windows for example (Vista specifically but that shouldn't matter).
How can I execute commands like 'echo', 'cd', 'md', 'rd', and any other command rooted inside of the cmd.exe through ProcessBuilder (or whatever class) in Java?