Mapping a network drive with the PushD and PopD commands is a piece of cake
Mapping network drives
In addition to making it easy to change back and forth between directories, the PushD and PopD commands also work with network paths. When working with network paths, the syntax for the PushD command is:
Where \\Server\Share\path is the network resource to which you want to map a drive letter. As soon as you use it, the PushD command will instantly map a drive letter to the network resource and then change to that drive right in the Command Prompt window. When you're done, just type PopD and the mapped drive letter will be disconnected and you'll return to your original drive.
Keep in mind that, the PushD command allocates drive letters from Z: on down and will use the first unused drive letter that it finds.
Image by Greg Shultz for TechRepublic.
Greg Shultz is a freelance Technical Writer. Previously, he has worked as Documentation Specialist in the software industry, a Technical Support Specialist in educational industry, and a Technical Journalist in the computer publishing industry.
I have multiple computers (XP, Vista, Windows 7) on my home network all in the identical workgroup. Once a shared folder is accessed on any computer on the computer I'm working on, it shows up under Network in Windows Explorer. If the computer the shared folder is on is then turned off, the share is still shown under Network. Clicking on that shared folder while that computer is turned off gets you an error. If all the computers are turned off and next day one computer is turned on, all those shared folders on the other turned off computers show up again under Network. When I turn on a computer, I do not want to see those shared folders UNTIL I access one. Causes confusion and clutter. Other than manually deleteing the visible shares or hacking the registry, is there any way to prevent shares showing up until accessed? Thanks.