jQuery in Action, 2nd edition*
The moose likes I/O and Streams and the fly likes Getting full file path for a windows network mapped drive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Getting full file path for a windows network mapped drive" Watch "Getting full file path for a windows network mapped drive" New topic
Author

Getting full file path for a windows network mapped drive

Shawn Capron
Greenhorn

Joined: Mar 18, 2014
Posts: 9
I have an application using a network mapped drive to access a file. For example I have:

A windows network ( W: ) drive mapped to \\file_server\data

I am looking at a file called file1 that lives in \\file_server\data\

When I get the file path in code it looks like "W:\file1"

I am trying to get the full path "\\file_server\data\file1" returned, but I cannot seem to find away to do that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting full file path for a windows network mapped drive