Re: Mapping a local folder to drive letter

From: Steve Winograd [MVP] (winograd_at_pobox.com)
Date: 05/21/04


Date: Fri, 21 May 2004 13:06:14 -0600

In article <AA80C47D-6873-46BE-AD3E-165493C3A246@microsoft.com>,
"Denis" <anonymous@discussions.microsoft.com> wrote:
>Unlike my NT and 2K machines, on my XP Pro machine I'm having trouble mappng a drive letter to a folder shared on it's local hard drive.
>
>On all machines, I can share a local folder (ie: c:\temp) and give it a shared name (ie: c_temp), without any problems. On both the Win2K or WinNT machines, when I open "My Network Places \ Entire Network \ Microsoft Windows Network \ Workgroup" in the Windows Explorer, I see the local machine's name. It's then a simple matter of clicking on that local machine name, where I can then see the "c_temp" resource, then I can map it to a drive letter, say "T:", so that a local file, for example c:\temp\myfile.txt, can now be accessed on that local machine, as t:\myfile.txt.
>
>If I boot the NT or 2K machine without the network cable attached, obviously I can't see the other machines on the network, but I can still see that local's machine name, so I can still get to the c_temp resource to map it to the T: drive letter - that's what I want to be able to do - map a local shared folder to a drive letter on an un-networked machine, but I can't get this to work under XP Pro? Why does the XP machine not list itself as one of the machines in "My Network Places"?
>
>I'm logged in with full administrative rights, and the folder seems to share just fine, but when I go to "My Network Places", even though I can see other machines on the network, the XP machine doesn't see "itself" (ie: the XP machine's name doesn't appear), so I can't see the local c_temp folder as a resource in order to map it. I've tried it with and without the network cable plugged in. Can I accomplish this instead using some "net" commands in the Command Prompt window?
>
>Any suggestions would be appreciated.
>
>Thanks,
> Denis

I don't know why the XP machine can't see itself. Perhaps there's a
firewall blocking access. Perhaps its network connection is disabled.
One possible solution is to install the Microsoft Loopback Adapter, so
that there's always a recognized network connection:

1. Go to Control Panel | Printers and Other Hardware.
2. Click "Add Hardware".
3. Click Next.
4. Select "Yes, I have already connected the hardware".
5. Click Next.
6. Select "Add a new hardware device" from the list and click Next.
7. Select "Install the hardware that I manually select from a list"
and click Next.
8. Double click Network Adapters.
9. Click Microsoft.
10. Click Microsoft Loopback Adapter
11. Click Next twice.
12. Click Finish.

However, there's a much easier way to assign a drive letter to a
folder on the same computer. Go to a command prompt and enter:

   subst drive: path

For example, this command assigns drive letter "g" to the folder
"d:\data":

   subst g: d:\data

-- 
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see.  I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com


Relevant Pages

  • RE: Drive mappings on clustered servers
    ... the information you gave me is what I needed to redo the folder share ... > It sounds like the problem you're experiencing occurs, because drive letter ... > letter mapping for the physical disk. ... > the physical disk resource is the quorum resource, the Cluster service may ...
    (microsoft.public.windows.server.clustering)
  • Re: IncludePicture Problem on Merge to New Document
    ... I suppose the type of folder that Y: is assigned to may also make a difference, although I have no way of testing that. ... There could I suppose be different behaviour if the drive letter is mapped to a Netware path, a Microsoft DFS path. ... "Peter Jamieson" wrote in message ... You can also try P:/Portage (and yes, with forward slashes it would be a single slash). ...
    (microsoft.public.word.mailmerge.fields)
  • RE: Saving to Intranet Site
    ... and then save the file to the drive letter assigned. ... However I would like to automate the creation of new folder names, ... Sub TestDir() ...
    (microsoft.public.excel.programming)
  • RE: Policies / drive mappings
    ... You can map one drive letter in the ... You could possibly login as the local administrator, map the drives ... manually and then copy NTUSER.DAT to the Default User folder. ... > We provide Ethical Hacking, Advanced Ethical Hacking, Intrusion ...
    (Security-Basics)
  • Re: hard drive question-XP-pro
    ... It works provided that it is seen as the same drive letter ... If there is much change of hardware in the move, ... If the machines have different video cards, ... Microsoft MVP (Windows, Security) ...
    (microsoft.public.windowsxp.security_admin)