Tech and travel

Category: Windows

Using the subst command in Windows

2005-08-08

The subst command in Windows XP (and possible earlier versions), allows you to assign drive letters to directories on the local disk. This can be used to create shortcuts in Windows Explorer for directories you use often. For example let’s assume you have a C: drive, that has a directory called work\project\subproj\code. This is where you store your source code for the current project. Having to go to that directory every time you open Windows Explorer (WE) is a bit of a nuisance, especially because WE doesn’t remember where you were if you close and reopen it.

Copyright (c) 2023 Michel Hollands