Home > Windows Server Tips > Windows Systems and Network Administration > Freeware opens doors for mapping tasks
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS AND NETWORK ADMINISTRATION

Freeware opens doors for mapping tasks


Serdar Yegulalp
12.07.2004
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


The SUBST command in Windows lets you substitute a drive letter for a pathname. For instance, the path c:program filessubstitute could be mapped to the drive letter F:.

NTSubst (http://www.hhdsoftware.com/ntsubst.html) is a freeware replacement for SUBST that expands on its functionality and adds several new features.

First, NTSubst can be used multiple times with a given drive letter. (SUBST only allows one substitution for a letter, period.) Each time a new path is assigned to a given drive letter, the old path is stored on a stack. For instance, if you need to run multiple programs that use the same path but require different path assignments for it, you can use NTSubst to cycle through each path assignment as needed.

NTSubst can also be used to replace mappings for existing drives, such as A: or C:. In the event that you need to run a program that requires a new mapping for an existing drive, you can do this. The original drive mapping can always be restored, of course. You should use this function carefully since you never know what can happen if you change your primary drive mappings in the middle of a session.

Another advanced feature NTSubst supports is the ability to map directly to any valid Object Manager path. Any device with a mapping such as Device[Devicename] in Object Manager can be mapped through NTSubst. For instance, to map the first floppy drive to X:, you could use the command:

NTSubst x: DeviceFloppy0

If you want to determine what Object Manager paths are available, Mark Russinovich at SysInternals has created a program called WinObj that lets you browse them graphically (available at http://www.sysinternals.com/ntw2k/freeware/winobj.shtml).

Remember that mapping a drive to an Object Manager path does not automatically imply that you can use the path as a file system, so be sure to use this function carefully.


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators -- please share your thoughts as well!

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Windows Systems and Network Management Tools and Techniques
Getting familiar with IPv6 for Windows environments
Perfmon made easy with PAL utility
Troubleshooting Windows application crashes or hangs
Free Windows security tools every admin must have
Top five Server Core management tips for Windows 2008
Top free tools for Windows server administration
A first look at Internet Information Services 7.0
Windows registry hack improves offline file access for mobile users
Reducing the size of network backups in Windows
Monitor network bandwidth with CyberGauge

Windows Systems and Network Administration
How to use Group Policy to centralize system configurations
Troubleshooting Windows application crashes or hangs
Converting VMware ESX machines to Hyper-V format
Using DFSR for SYSVOL replication in Windows Server 2008
Top 25 Windows PowerShell commands for administrators
Key DFS improvements in Windows Server 2008 R2
Free Windows security tools every admin must have
Group Policy makes strides in Windows Server 2008 R2
Quick tips for troubleshooting NTFS permissions
Common causes of Windows server security vulnerabilities

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsNewsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts