Friday, 4 April 2008

Windows - Map local folders

Network locations can be mapped pretty easily but mapping local folders is more complicated. Run the following from the command line:

subst {drive}: {directoryPath}

This example shows how to map C:\Windows to the W drive meaning that I can reference anything in that directory like W:\{directoryPath}\{fileName}.


Example:
subst W: C:\Windows

No comments: