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 n


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


RELATED CONTENT
Windows Systems and Network Management Tools and Techniques
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
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Archiving information with New-Item in Windows PowerShell
Debugging Userenv issues using Windows new event viewer

Windows Systems and Network Administration
Common causes of Windows server security vulnerabilities
Cutting the cost of Windows identity and access management
Using NTFS on a non-Windows OS with NTFS-3G
Group Policy Object modeling simplifies network security
Implementing simple Network Access Protection for Windows Server 2008
Immediate steps for Windows disaster recovery
Tips for Windows domain controller optimization
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures

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


ever 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




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 ExchangeTipsAsk the ExpertsMultimediaWhite 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