Sunday, July 26, 2009

Assign Folder as a Drive

Had you heard about assigning a folder as a drive? Several user may need a daily used folder as a drive that appear in "my computer". Here it's the trick;
  1. Open up "command prompt" by typing "cmd" at run box
  2. At "command prompt", type; "subst [drive letter] [folder path address]". eg: "subst m: d:\userfolder"
  3. Hit enter and you can see [as an example a new drive: m:\ drive appear in "my computer"
  4. Simple and easy huh? This assigned drive will be deactivate when you reboot your comp.
  5. So, you can make an auto startup program for this assigned drive.
  6. Here come the trick; Simply open up notepad and type this codes : "subst [drive letter] [folder path address]". eg: "subst m: d:\userfolder" and save it as "urfilename".bat.
  7. This is a batch file that runs the command when you double-click it. "urfilename" refer to any name that you want to put. But make sure you keep the file with *.bat extension in order to make it able to be executed.
  8. Then, simply copy this file to the startup folder under "start>all programs>startup"
  9. This means you have just set up that batch file to runs every time the comp rebooted

Share this

0 Comment to "Assign Folder as a Drive"

Post a Comment