Question: getting a real path from a mapped drive.

From: Ricky (ricky13_at_email.com)
Date: 10/18/04


Date: 17 Oct 2004 17:16:09 -0500

My question:

        If I have a mapped driver letter g: that referes to
\\servername\d\foldername

How do I get java to convert it from g: to the real path so I can use
it?

I have a script that allows someone to locate a file on the server,
but most will use there mapped drives as they know nothing better.
Although I've tried to standardize the drives, its difficult to
maintain all the time with so many users. So, when they find their
file on the network g:\thisFolder\thisFile.txt...I want the script to
convert it to \\servername\d\foldername\thisFolder\thisFile.txt. Any
help would be greatly appreciated. Thanks!!!



Relevant Pages

  • Re: Why PHP is so succesfull?
    ... Trent> sounds like a lot of hassle to me. ... I've never written CGI scripts with Java myself. ... copying my first Hello World CGI java script to your ...
    (comp.programming)
  • Re: image gallery
    ... Does this mean i dont have to modify the second part of the script - telling ... If your pictures are stored in your images folder, ... pictures like the FP Banner web component but will be visible to users ... Being in Java doesn't usually / neccessarily mean insecure. ...
    (microsoft.public.frontpage.addins)
  • Re: [opensuse] Editting PATH variable
    ... SuSEconfig script ... ... not knowing what you options you used to install ... If your unfamiliar with Bash a good book is 'Learning the Bash Shell' by ... For Java use editing the PATH variable is NOT required... ...
    (SuSE)
  • Re: JAvascripts not working in my computer
    ... I have all my java enabled in the ... >> Script Debugging Problem ... >> Sun JRE.) ... >> Sun also offers an automatic download and install of the 1.4 Java ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: file not found or server unavailable web site links
    ... and definely looks like a virus writter script deletion ... >> There is an apparent java script error with IE6. ... the Sun JRE.) ... >Sun also offers an automatic download and install of the ...
    (microsoft.public.windows.inetexplorer.ie6.browser)