Thursday, 25 November 2010

How to Create a Virtual Drive Permanently.

A cool feature of Windows is the capability to create a virtual disk drive. A virtual disk drive is a special folder of an actual physical drive that actually serves as a drive in its own right. For example, you can create a virtual CD-ROM or DVD-ROM drive in Windows. A key advantage of a virtual drive is that it usually saves time. So lets create a Virtual Drive my our own.


1. Click on Start button and then click Run.

2. In Run command type in "cmd" The command prompt will appear.

3. Type in subst x: "C:\Program Files"

=> Replace the "x" with the name for your virtual drive you want to create. Keep in mind that this name is not                    assign with any other drive name.

=>C:\Program Files represents the particular directory of which you want to create your virtual drive. You                         may give any other directory to your need.

4. Once you enter your info into the command prompt, press ENTER and  your virtual drive will have been                    created. You can go to My Computer and view your new drive. However, if you shut down your PC now, it will be  automatically deleted. Here's a trick to make it permanent.


1. Open  Notepad.

2. Next, type subst x: C:\ Program Files into your notepad. Now save the Notepad document as c:\autoexec.bat.(recommended save it in drive C only)

3. Click on Start and then click Run. In Run command type in "regedit". This opens the Registry Editor.

4. In the left-hand side pane, browse to

=> HKEY_LOCAL_MACHINE => Software => Microsoft => Windows => CurrentVersion =>Run

5. Next, right click on the right-hand side pane. Click New String Value. Now type in "Autoexec" and then click Enter.

Right click Autoexec and then click Modify.

6.  Type c:\autoexec.bat.

7. Close your Registry Editor and restart your PC. And enjoy


Post a Comment