Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Runtime.getRuntime() and XP directory name spaces

Geoff Cottle
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Let nothing stop you! Not even this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!