Network drive into a Local Drive

Jason

Distinguished
Jul 25, 2003
1,026
0
19,280
Archived from groups: microsoft.public.win2000.advanced_server (More info?)

Is there a way in Windows 2000 to map a network drive but have the operating
system think it is a local drive.

The reason is, I have an application that works with IIS. I want the content
of the website to be on a network drive. IIS will let me configure the
virtual directory to a network drive via UNC path, but my application does
not support UNC path. Which means when I try to upload content to the
website, it fails. If I chose a local path in both IIS and in my application,
everything works fine. Please let me know if there is any way to trick
windows into believing that a mapped network drive is a local drive.

Thanks
 

lee

Distinguished
Mar 30, 2004
635
0
18,980
Archived from groups: microsoft.public.win2000.advanced_server (More info?)

net use X \\computername\sharename /persistent:yes

Where X is the drive letter to assign.
Lee


"Jason @ Tegrity" <Jason @ Tegrity@discussions.microsoft.com> wrote in
message news:FB5AA034-C3D5-4EF7-BA41-7F14EF337085@microsoft.com...
> Is there a way in Windows 2000 to map a network drive but have the
operating
> system think it is a local drive.
>
> The reason is, I have an application that works with IIS. I want the
content
> of the website to be on a network drive. IIS will let me configure the
> virtual directory to a network drive via UNC path, but my application does
> not support UNC path. Which means when I try to upload content to the
> website, it fails. If I chose a local path in both IIS and in my
application,
> everything works fine. Please let me know if there is any way to trick
> windows into believing that a mapped network drive is a local drive.
>
> Thanks