File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA/OCP Java SE 7 Programmer I & II Study Guide
this week in the
I/O and Streams
Getting full file path for a windows network mapped drive
Joined: Mar 18, 2014
Mar 26, 2014 08:26:25
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:
subject: Getting full file path for a windows network mapped drive
Servlet works on WebSphere but not on Tomcat
k&B bonus exam link
runtime.exec on WebSphere Application Server not working
Retieving full Network Drive Path from jsp
Map drive access through Java Application running as a service
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014