New way of resource mapping

The benefits of PUSHD over NET USE for mapping directories.

This tip was submitted to the SearchWin2000.com tip exchange by member Sergey Tsygankov. Please let other users know how useful it is by rating it below.


You can map network resources using PUSHD command instead of NET USE.

Just as if a network path is specified, PUSHD will create a temporary drive letter that points to that specified network resource, and then change the current drive and directory, using the newly defined drive letter. Temporary drive letters are allocated from Z: on down, using the first unused drive letter found.

Loopback command is POPD; the POPD command will delete any temporary drive letter created by PUSHD when you POPD that drive off the pushed directory stack.

This was first published in April 2003

Dig deeper on Windows Operating System Management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close