Windows

Slideshow: Quick networking mapping with PushD and PopD

In Windows 7, the Map network drive command appears on the Command Bar.

Have you ever needed to temporarily map a drive letter to a network location for a quick file operation while you are working from a command prompt? Of course, you can switch over to Windows Explorer and use the Map Network Drive command. While that is a viable solution, it requires multiple steps to create and then you have to perform several more steps to disconnect the network drive. This can be a pain - especially when you're working from a Command Prompt. Fortunately, you can use a pair of often overlooked Command Line tools still available in Microsoft Windows 7, PushD and PopD, to quickly map network drives.

In this edition of the Windows Desktop Report, I'll show you how to PushD and PopD for temporary drive mapping. As I do, I'll explain how these two old DOS utilities work.

The Map Network Drive command

Just for the sake of comparison, let's begin by taking a look at all the steps involved in temporarily mapping a network drive in Windows Explorer. When you need to map a network drive from within Windows Explorer you can pull down the Tools menu and select the Map network drive command. If you are running Windows 7 with its context sensitive Command Bar, when you open Computer, the Map network drive command appears on the Command Bar.

This Slideshow is also availabe as a post in the TechRepublic Microsoft Windows Blog.

Image by Greg Shultz for TechRepublic.

About

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.

5 comments
dhamilt01
dhamilt01

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.

ihfwt
ihfwt

I prefer F7 or the Up and Down arrow keys to cycle through command history.

bpate
bpate

Is it just me or doesn't anyone use the net use command still?

davep.l
davep.l

Keep talking like that and MS will drop it!!