Thursday 28 February 2008

Using subst to create virtual drives

If you wish to create virtual drives from the command line you can use subst. Have a look at the code below:

subst /d a:
subst /d b:
subst a: F:\Development\SVN\trunk\CompiledBinaries
subst b: a:\release

This will create 2 virtual drives one called 'a' the other 'b', which in turn point to 'F:\Development\SVN\trunk\CompiledBinaries' and 'a:\release' respectively.

No comments: