# Windows – Mapping drive letters to local folders

windowswindows 7windows 8

Is there a windows equivalent to the old dos SUBST command?

I want to be able to assign a local drive letter to a folder on a local drive.

I realize that a mapped drive will work (and so far that's the technique I've ended up using), but it doesn't seem to cut-in until rather late in the boot process. I've also in the past tried putting SUBST commands in batch files in the boot process, but that doesn't seem to work either.

Good news! The subst command still works in Windows 7!
subst x: C:\Folder\Example
subst x: /D