opening file from a random disk drive

Runtime.getRuntime().exec("cmd /c start" +file +"myfile.pps");

for thefile variable how do define such that i can open themyfile.pps file in eitherf:// org://

are there any solutions to the above problem?

thank you

jp

Message was edited by:

juniorprogrammer

[383 byte] By [juniorprogrammera] at [2007-11-27 7:53:59]
# 1
Set file to either "f:\\" or "g:\\" depending on what you want it to do.Well, obviously.
warnerjaa at 2007-7-12 19:35:15 > top of Java-index,Java Essentials,New To Java...