Thread: Files
View Single Post
Old 12-15-2004, 11:35 AM   #1 (permalink)
freesoft_2000
Code Monkey
 
Join Date: Oct 2004
Posts: 51
freesoft_2000 is on a distinguished road
Question Files

Hi everyone,

I have a rather silly question but please bear with me for a while. If lets say i have a string which has the contents

Code:
    "C:\\p\\kol\\pki.txt"
The thing with the above string is that if i use as an argument in a
fileinputstream it will only work on windows platform.

Basically my question is how do i convert the above string to a platform independent form.

I hope someone can help me with this

Thank You

Yours Sincerely

Richard West
freesoft_2000 is offline   Reply With Quote