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.