How To Create Virtual Drives - A complete guide on how to create virtual drives

Pages: 1, 2, 3
free web hosting

Read Latest Entries..: (Post #20) by iGuest on Jul 26 2008, 12:55 AM. (Line Breaks Removed)
Little Help How To Create Virtual Drives Will this work on windows xp? When I tried to save my text document as "c:\autoexec.Bat" [without quotations] it said I couldn't have :'s or \'s in my file name. Will this affect the working of this virtual drive???Btw, nice tutorial. Easy to follow and quite explanatory. Thanks.-question by Sir PooFace... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > CONTRIBUTE > Tutorials

How To Create Virtual Drives - A complete guide on how to create virtual drives

snlildude87
I'm planning to format my computer tonight, and I need some sort of reference about this when I get back.

What is a virtual drive?
A virtual drive is a shortcut to a folder hidden deep inside Windows. Instead of having an icon for the shortcut (virtual drive), you will see a drive icon with a letter that you chose when you go to My Computer after you create the drive. After completing this tutorial, you will be able to turn a long path (C:\directory\directory\more\directory\oh\my\gosh\this\is\a\long\directory\) into a drive letter (L:).

Why should I have a virtual drive?
Virtual drives are not a necessity. It's only there to save you time. Besides, would you rather pay money for a program that creates a virtual drive, or would you do it for free? I thought so. laugh.gif

Let's get started
  1. Open the command prompt: press CTRL+R -> type "cmd" (without quotes)
    user posted image
  2. This is the command prompt...entry (I don't know the proper name) that you will be using: subst p: "C:\windows" (I chose this because everybody has this path on their computer, with the exception of Linux users). It should look somewhat like the following:
    CONSOLE
    Microsoft Windows XP [Version 5.1.2600]
    © Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Owner>

    *Replace the bolded "p" in the command prompt entry with a drive letter of your choice.
    Important: Do NOT choose a letter that has already been chosen. You can check which ones Windows has already claimed by going to My Computer and noting all the drives you see. Generally, drives C, A, E, F, and Q are already taken.
    *You can replace the directory, c:\windows, with any existing directory on your hard drive
    *Copy the new command prompt entry (ctrl+c)
  3. Once you have copied the entry, go to the command prompt (should already been opened), right click, and select "Paste".
    user posted image
    The thing you copied above should appear on the command prompt screen. If you're using an earlier version of Windows, you should see a little clipboard icon on the command prompt toolbar. Click on the clipboard. Your command prompt window should look somewhat like the following:
    CONSOLE
    Microsoft Windows XP [Version 5.1.2600]
    © Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Owner>subst p: "C:\windows"
  4. Press the Enter key on your keyboard.
  5. Go to your My Computer, and you should see a new drive, P (or whatever letter you chose)
  6. Double click on that drive, and it should take you to c:\windows (or whatever directory you chose)
    You're done!
Now, you will be able to access files in c:\windows from the P drive (or any letter you chose) by typing P:\[filename] smile.gif

Making it Permanent
The problem with virtual drives is that they are not permanent, meaning that if you restart your computer, they will not be there anymore. Of course, everything has a loophole, so there are ways to get around this. The first method is to buy a program...with money...that will do the job. The second method is to keep reading this tutorial.
  1. Open Notepad
  2. Copy and paste the following to Notepad:
    CODE
    subst p: "C:\windows"

    Of course, you can replace the drive, P:, and the directory, c:\windows, with anything you wish. Remember not to choose an existing drive and not to choose a non-existing directory.
  3. File -> Save
  4. In the "File name:" box, copy and paste the following:
    CODE
    c:\autoexec.bat

    user posted image
    If you get a dialog box that asks if you want to replace the existing file, click No and do the following:
    *Open another instance of Notepad (do not close the one already opened)
    *File -> Open
    *In "File name:", copy and paste the following:
    CODE
    c:\autoexec.bat

    *Press the Enter key on your keyboard
    *Follow steps 2 thru 3 in the "Making it Permanent" section
  5. Press ctrl+R on your keyboard
  6. Copy and paste the following:
    CODE
    regedit
  7. On the left pane, go to:
    CODE
    My Computer -> HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> CurrentVersion -> Run

    Your Registry Editor should look somewhat like this:
    user posted image

    ^Note the status bar at the bottom
  8. On the right pane of your Registry Editor, do the following: Right click -> New -> String Value
    *Name this new string "Autoexec" (without quotes)
    *Right click on Autoexec -> Modify -> Type "c:\autoexec.bat" (with quotes)
    *Close the Registry Editor
  9. Restart your computer
  10. Pat yourself on the back because you just saved yourself a couple of dollars smile.gif
When your computer is turning on, you should see the command prompt for a few seconds. Ignore this because it will go away.

Enjoy! smile.gif

 

 

 


Reply

whyme
this is funny, you're a mod, so you should be able to apporve the tut, oh well, what ever, lol.

Reply

snlildude87
Well, the rules said something along the lines of "Don't approve your own tutorials. We have to be fair", so I unapproved it. Thanks for not deleting it, though. laugh.gif

Reply

whyme
heeheh, anyways, I'm moving this oer to the staff section, y'know, it's off-topic discssion smile.gif

Reply

cse-icons
That was really nice one. I have lots of folders that I access regularly and have to maintain shortcuts... now I can just use permanent virtual drives..

But does this work in Windows 98 because as u said we need to enter this in cmd, whereas Win 98 does not have cmd.exe but only command.com

Cheers.

Reply

snlildude87
I think entering cmd will work, but if not, "command" works for all versions of Windows smile.gif

Reply

brokebloke
Great tutorial, thought you was going to talk about virtual drives like Daemon, learn something new every day here smile.gif

Reply

Teragonto
blink.gif Wow. This will be very helpful since I'm formatting my computer this Sunday. Nice tutorial Snildude.

Reply

beeseven
If you ever want to check what your virtual drives are you can just type "subst" and it will give you a list of all the (virtual-only) drive letters and paths.

Reply

jlhaslip
Just wanted to remind you to save your registry settings before you change them in case something goes wrong in the process you can revert back to the original settings.

And does this work for XP also?

Reply

Latest Entries

iGuest
Little Help
How To Create Virtual Drives

Will this work on windows xp?
When I tried to save my text document as "c:\autoexec.Bat" [without quotations] it said I couldn't have :'s or \'s in my file name. Will this affect the working of this virtual drive???

Btw, nice tutorial. Easy to follow and quite explanatory. Thanks.

-question by Sir PooFace

Reply

iGuest
Replying to snlildude87
Any idea how to do this with Windows Vista Home Premium? I want to be able to boot to either Windows Vista or XP Thanks

-reply by Steven

Reply

flashy
Great tutorial, may come in handy for later use tongue.gif. Good work

Reply

klusk
i have managed to create a virtual drive ......easy procedure....but i have a problem...i am not able to rename the drive
i want to rename it as "downloads"...but it shows the name of the drive where the folder of the virtual drive exists...
The folder was present in games drive...and i have created a virtual drive with the folder. The problem is ..the name of the new virtual drive is also "Games"...even if i have renamed it many times to something else..........

Reply

coolcat50
This is a great tutorial. It is kind of old though, but still a great tutorial. You also can set up an icon system that can create a virtual drive, run a program, then delete the virtual drive through MS-DOS commands. I might post a tutorial on it.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2, 3
Recent Queries:-
  1. how do i make a virtual drive for oblivion? - 3.25 hr back. (1)
  2. how to make virtual drive - 5.15 hr back. (2)
  3. create virtual disk - 5.47 hr back. (1)
  4. how to mount virtual drive - 6.29 hr back. (1)
  5. how to change virtual daemon drive letter - 7.52 hr back. (1)
  6. make virtual drive - 11.36 hr back. (1)
  7. how create virtual drive - 13.00 hr back. (1)
  8. create a virtual drive - 4.19 hr back. (4)
  9. how to create a virtual drive - 13.22 hr back. (1)
  10. how to create virtual drives - 3.31 hr back. (2)
  11. adding virtual drive - 15.27 hr back. (1)
  12. making a virtual drive - 15.42 hr back. (1)
  13. creating a virtual drive - 12.26 hr back. (3)
  14. how to set the path in command prompt for virtual drive - 19.49 hr back. (1)
Similar Topics

Keywords : virtual drives virtual drives


    Looking for create, virtual, drives, complete, guide, create, virtual, drives

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for create, virtual, drives, complete, guide, create, virtual, drives

*MORE FROM TRAP17.COM*
advertisement



How To Create Virtual Drives - A complete guide on how to create virtual drives



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE