Convert path to UNC 
Author Message
 Convert path to UNC

We are building an Intranet application where a client specifies a
path/filename for a new document and a DLL on the server (via ASP
application) creates the document in the specified location.

If a user specifies their local C: drive, the server app will presumably
attempt to save on the server's C: drive.

The question:

How do you convert a local path to a UNC path?
(e.g. c:\docs to \\mymachine\myCdrive\docs)

I've managed to convert a mapped network drives to UNC paths.

Thanks for any suggestions you can provide!

Mark Hodgson




Mon, 18 Aug 2003 00:04:33 GMT  
 Convert path to UNC
This may be a starting point:
HOWTO: Get UNC Path From a Mapped Network Share's Drive Letter
ID: Q192689


Quote:
> We are building an Intranet application where a client specifies a
> path/filename for a new document and a DLL on the server (via ASP
> application) creates the document in the specified location.

> If a user specifies their local C: drive, the server app will presumably
> attempt to save on the server's C: drive.

> The question:

> How do you convert a local path to a UNC path?
> (e.g. c:\docs to \\mymachine\myCdrive\docs)

> I've managed to convert a mapped network drives to UNC paths.

> Thanks for any suggestions you can provide!

> Mark Hodgson





Mon, 18 Aug 2003 05:17:10 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to convert path to UNC path?

2. Convert Path to UNC

3. Convert Path to UNC

4. Converting logical paths to UNC paths

5. Help converting UNC paths to physical paths.

6. Converting logical paths to UNC paths

7. How to convert local path to UNC-path?

8. How to convert local path to UNC-path?

9. How to convert file path to UNC?

10. Converting a path to its UNC equivalent?

11. How to convert file path to UNC???

12. convert unc to a local path

 

 
Powered by phpBB® Forum Software