wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Runtime.getRuntime()  and XP directory name spaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Runtime.getRuntime()  and XP directory name spaces" Watch "Runtime.getRuntime()  and XP directory name spaces" New topic
Author

Runtime.getRuntime() and XP directory name spaces

Geoff Cottle
Greenhorn

Joined: Sep 20, 2004
Posts: 1
Hi everyone



This code opens the default text editor with a directory path string and file name -- at least it does on windows 2000 ! no matter whether the directory path "logFileDirectoryString" contains spaces " " or not i.e. C:\Documents and Settings etc

On XP however It does not work it tries to open "C:\Documents"


I have tried substituting "" for spaces, enclosing paths with spaces with
"". I am running out of ideas.

Please help
Geoff
 
 
subject: Runtime.getRuntime() and XP directory name spaces
 
Similar Threads
how to install and configure ANT and MAVEN with eclipse in windows vista ?
Compiling in the cmd prompt
Bringing up a .doc file in MS Word
spaces in file name
Jar-making ants