Monday, December 20, 2010

Mapping drive letters to local folders in Windows XP

Windows XP provide a commmand to map any local folder with a drive name.

Say, if you want to map a local folder newfolder of your d drive (D:\newfolder) to a new drive say K:\  you can easily do this by command subst.

subst <drive_letter> <complete_folder_path>

In our case, command would be

subst K: D:\newfolder

No comments: