Originally posted by Robert Hayes:
Also, if anyone is hard-coding path separators (ala above poster), they should be shot...
I agree
Cosmos,
2) You can use System.getProperty("file.separator") to get the file separator.
3) Runtime.exec() is a mechanism for making system calls. For example, if you wanted to print the list of users on a machine through the UNIX "who" command, you would use Runtime.exec()
Note that Runtime and System are classes in the
Java API. If you scroll down in the left frame and pick the class you are interested in, you can get all the details about its methods.