# [jcifs] detecting imported shares

Simon Gornall simon at s-a-l-t.co.uk
Fri Mar 1 23:04:27 EST 2002

Hi all,

Is it possible using JCIFS to map a name like 'E:\path\to\file' to
'//machine/share/path/to/file', assuming that E: is a drive that's been
network-mapped ?

For the client part of a client-server system, it would be very useful to
know that E: on this machine was the same as G: on that machine, so two
filenames actually refer to the same physical file... When you do a
drag'n'drop you only get the E: bit :-(

Cheers,
Simon.