Wednesday, March 28, 2007

Fake Drive

There are cases where the application needs access to a drive like H: to complete the installation of an application. Since you might be working on a vmware machine using a local user account.

instead of mapping the drive to the production drive, you can fake a drive on the machine using Subst.exe command. you can fake an existing folder on the machine as a drive.

For creating a H:

create a folder under "C:" eg. C:\test

then use the command at command prompt

subst H: C:\test

Open My computer and you will see a H: drive there.