pseudomonas.livejournal.com ([identity profile] pseudomonas.livejournal.com) wrote in [personal profile] lethargic_man 2007-04-02 11:16 am (UTC)

I don't know about Java, but in perl you can use forward-slashes regardless of the OS and they'll be automagically fixed. so open SYS, 'C:/Windows/system/foo.txt' will do what you mean. I'm not sure what this does to MS filenames that *contain* forward-slashes as part of the name.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting