驱动器映射(Drive mapping)是您可以将本地驱动器(drive letter)号(A 到 Z,作为分区使用的驱动器号)与另一台网络计算机(network computer)上的区域(如共享文件夹)或 Internet 位置(例如FTP 站点(FTP site))相关联的过程。使用驱动器映射非常有用,尤其是在同一网络上使用不同操作系统时。例如,如果您在家庭网络中同时使用(home network)Windows 7和Windows XP,则无法充分利用家庭组(HomeGroup)功能。使用驱动器映射可能是一个很好的选择。
因此,在本教程中,我将展示如何将网络驱动器(network drive)映射到网络上的共享文件夹以及Internet 位置(internet location),例如FTP 站点(FTP site)。
如何在Windows 7中启动(Windows 7)映射网络驱动器向导(Map Network Drive Wizard)
有几种方法可以启动“映射网络驱动器”('Map network drive')向导。一种方法是双击计算机(Computer)快捷方式,然后单击上方工具栏中的“映射网络驱动器”('Map network drive')按钮。请记住,如果您浏览任何分区,该按钮将消失。它仅在默认的计算机(Computer)窗口中可用。
另一种选择是右键单击计算机(Computer)图标并选择“映射网络驱动器”('Map network drive')。现在将启动“映射网络驱动器”('Map network drive')向导。
如何在Windows 7中映射(Windows 7)共享网络文件夹(Shared Network Folder)
首先,选择要用于此映射的驱动器号。(drive letter)然后,单击浏览(Browse)并选择要映射的网络位置。(network location)
在浏览(Browse)窗口中,选择要映射到的计算机和共享文件夹。完成后,点击OK。
除了使用浏览(Browse)按钮,您还可以直接键入要映射的共享文件夹的位置。此外,您可以在Windows 资源管理器(Windows Explorer)中导航到该位置,然后右键单击它并选择“映射网络驱动器”('Map network drive')。
如果您希望 Windows 7 在每次登录时重新连接到此驱动器,请确保选中“登录时重新连接”('Reconnect at logon')框。此外,如果您将驱动器映射到使用Windows Vista 或 Windows XP(Windows Vista or Windows XP)的计算机,您可能还需要使用该计算机上定义的用户帐户进行连接。(user account)在这种情况下,请选中“使用不同凭据连接”('Connect using different credentials')复选框。
完成后,单击完成(Finish)。
在某些情况下,如上所述,您将被要求输入用户名和密码(username and password)以连接到网络位置(network location)。
这里有一个非常重要的问题:当您输入用户名和密码(username and password)时,Windows 7会将您的计算机用作“域”。这在尝试访问网络位置(network location)时可能会导致问题,因为您将尝试使用您计算机上定义的用户连接到另一台计算机。而且,很可能它不会起作用。从下面的屏幕截图中可以看出,您需要确保域字段(domain field)具有您尝试连接的计算机的名称。
为此,请在用户名字(user name)段中输入您要连接的 PC 的名称、反斜杠('' 键),然后输入您要用于连接的用户。该用户必须在您要连接的计算机上定义。否则它将无法正常工作。
如果您输入正确,您将看到域字段(domain field)的值已更改为您尝试连接的计算机。完成后,点击OK。
如果映射过程(mapping process)正常,新创建的驱动器将打开并在计算机(Computer)窗口和Windows 资源管理器(Windows Explorer)中可用。
如何在 Windows 7 中映射 FTP 站点
要将驱动器映射到FTP 站点(FTP site),请单击“连接到可用于存储文档和图片的网站”('Connect to a Web site that you can use to store your documents and pictures')的链接。
将启动一个新的“添加网络位置”('Add Network Location')向导。单击下一步(Next)。
在下一个窗口中,单击“选择自定义网络位置”('Choose a custom network location')。
现在是时候键入FTP 站点(FTP site)的位置了。首先输入(First type) 'ftp://',然后输入 FTP 站点的IP地址(FTP site)或名称(IP address or name)。如果您想查看更多有关如何键入地址的示例,请单击查看示例(View examples)链接。完成后,单击Next。
然后您将指定用于连接到FTP 站点的(FTP site)用户名(user name)。如果您的FTP 站点(FTP site)允许匿名连接,请勾选“匿名登录”('Log on anonymously')复选框(check box)。否则(Otherwise),取消选中它。
如果您未选中它,请在相应字段(field and click)中输入用户名,然后单击Next。
Windows 7 现在要求您为此映射提供名称。输入(Type)您想要的任何名称,然后单击Next。
要测试新创建的映射,请选中“单击完成时打开此网络位置”('Open this network location when I click Finish')框,然后单击完成(Finish)。
如果您需要用户名和密码来连接到FTP 站点(FTP site),将会打开一个新窗口,要求您输入这两个详细信息。键入它们并选中“保存密码”('Save password')框,以防您不想每次都输入,然后单击“登录”('Log On')。
FTP 站点(FTP site)现在可以直接从“计算机(Computer)”窗口作为映射驱动器使用。
如何在Windows 7中删除(Windows 7)映射驱动器(Mapped Drive)
如果您需要删除以前创建的驱动器映射(drive mapping),请查看本教程以获取完整说明:如何在Windows 7中(Windows 7)删除映射(Delete Mapped)驱动器。它显示了从Windows 资源管理器(Windows Explorer)和命令提示符(Command Prompts.)中删除它们的所有替代方法。
结论
在Windows 7(Windows 7)中进行驱动器映射并不像应有的那么简单。如果您不是很小心,您可能会遇到问题,因此请注意本教程中的所有说明。另外,请查看我们在下面推荐的文章。如果您遇到一些问题,他们可能会帮助您。
如果您有一些提示要分享或遇到需要帮助的问题,请随时发表评论。
How to Map Network Drives, Websites and FTP Locations in Windows 7
Drive mapping is the procedure through which you can associate a local drive letter (A to Z, as the ones used by your partitions) with an area on another network computer (like a shared folder) or internet location (e.g. FTP site). Using drive mappings can be very useful, especially when working with different operating systems on the same network. For example, if you use both Windows 7 and Windows XP in your home network, you cannot take full advantage of the HomeGroup feature. Using drive mappings can be a pretty good alternative.
Therefore, in this tutorial, I will show how to map a network drive towards a shared folder over your network and also to an internet location such as an FTP site.
How to Start the Map Network Drive Wizard in Windows 7
There are several ways to start the 'Map network drive' wizard. One way is to double click on the Computer shortcut and click on the 'Map network drive' button from the upper toolbar. Keep in mind that, if you browse through any partition, the button will disappear. It will only be available in the default Computer window.
Another alternative is to right click on the Computer icon and select 'Map network drive'. The 'Map network drive' wizard will now start.
How to Map a Shared Network Folder in Windows 7
First, select the drive letter you want to use for this mapping. Then, click on Browse and select the network location you want to map.
In the Browse window, select the computer & the shared folder you want to map to. When done, click on OK.
Instead of using the Browse button you can also directly type the location of the shared folder you want to map. Also, you can navigate to that location in Windows Explorer and then right click on it and select 'Map network drive'.
If you want Windows 7 to reconnect to this drive at each logon, make sure you check the box that says 'Reconnect at logon'. Also, if you map a drive to a computer using Windows Vista or Windows XP, you might also need to connect using a user account defined on that computer. In this case, check the box that says 'Connect using different credentials'.
When done, click on Finish.
In some scenarios, as the one mentioned above, you will be asked to enter a username and password to connect to the network location.
Here there is a very important catch: when you type the username and password, Windows 7 will use your computer as the 'domain'. This can cause problems when trying to access the network location because you will try to connect to another computer using a user defined on your computer. And, most probably it won't work. As you can see from the screenshot below, you need to make sure that the domain field has the name of the computer you are trying to connect to.
To do this, in the user name field type the name of the PC you are connecting to, a backslash ('' key) and then the user you want to use for the connection. That user must be defined on the computer you are connecting to. Otherwise it won't work.
If you typed things correctly, you will see that the domain field has changed value to the computer you are trying to connect to. When done, click on OK.
If the mapping process worked fine, the newly created drive will open and will become available in the Computer window and in Windows Explorer.
How to Map an FTP Site in Windows 7
To map a drive to an FTP site, click on the link that says 'Connect to a Web site that you can use to store your documents and pictures'.
A new 'Add Network Location' wizard will start. Click on Next.
In the next window, click on 'Choose a custom network location'.
Now it is time to type the location of the FTP site. First type 'ftp://' and then the IP address or name of the FTP site. If you want to see more examples of how to type the address, click on the View examples link. When done, click on Next.
You will then specify a user name for connecting to the FTP site. If your FTP site allows anonymous connections, leave the 'Log on anonymously' check box ticked. Otherwise, uncheck it.
If you unchecked it, type the username in the appropriate field and click on Next.
Windows 7 now asks you to provide a name for this mapping. Type any name you want and click on Next.
To test the newly created mapping, check the box that says 'Open this network location when I click Finish' and then click on Finish.
In case you need a username and password to connect to the FTP site a new window will open, asking you to type both these details. Type them and check the box that says 'Save password', in case you don't want to enter it every time, and click on 'Log On'.
The FTP site will now be available directly from the Computer window as a mapped drive.
How to Delete a Mapped Drive in Windows 7
In case you need to delete a previously created drive mapping, check out this tutorial for complete instructions: How to Delete Mapped Drives in Windows 7. It shows all the alternatives you have for deleting them both from Windows Explorer and the Command Prompts.
Conclusion
Making drive mappings in Windows 7 is a not as straightforward as it should be. You can encounter issues if you are not very careful, so do pay attention to all the instructions in this tutorial. Also, do take a look on the articles we recommend below. They might help you in case you have some issues.
If you have some tips to share or you encounter issues you need help with, don't hesitate to leave a comment.