Click to See Complete Forum and Search --> : Java And Universal File Names


wilse
October 7th, 1999, 06:32 PM
Can any version of Java use Universal File Names? For example, if a Windows NT server named "server1" has a share named "share1" and a file in the share directory called "file1", can a Java application access a file1 with a path name such as:
\\server1\share1\file1
or
//server1/share1/file1

Thanks.


<I am Eric B. Wilson>

unicman
October 10th, 1999, 12:59 PM
See JDK1.2 documentation for 'java.io.File' I think it says it supports UNC paths.

- UnicMan
http://members.tripod.com/unicman