Home » Vista Tweaks and Trick, Windows 7, XP Tweaks

Create virtual drive of any folder from windows command prompt

Few days back I talked about a software which allows you to create a virtual drive of any folder i.e. like your c drive or d drive it can create another drive say Y which appears in your my computer. 

Create Virtual Drives of your frequently accessed folders

Create Virtual Drives of your frequently accessed folders

The software name was Visual Subst which made me thought if it was a windows command. I looked around and yes that was true. Subst is dos command which allows you create virtual drive out of any folder. Very handy for the most frequent accessed folders.

Create Virtual Drive with Dos Command

Here is complete option for SUBST 

Associates a path with a drive letter.

SUBST [drive1: [drive2:]path]

SUBST drive1: /D

  drive1:        Specifies a virtual drive to which you want to assign a path.

  [drive2:]path  Specifies a physical drive and path you want to assign to

                 a virtual drive.

  /D             Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.

It works on Windows VIsta, XP and should on windows 7 too. So if you dont want to use any of the software just remember the command but if  tot comfortable with Dos command ? try the Visual Subst Tool

Tagged with: | Need more help ? Ask your Questions at our Support Center | Follow us on Twitter @TSNW or Facebook
Facebook Share Print This Post

Posted on 9th December 2008 by Ashish Mohta , A Professional Tech blogger, Editor and Writer who talks about solving day to day problems of people who use computer. He also writes on How to use the applications like Office, PC tips, Online tools,Browsers and more. All posts by Ashish Mohta | Connect with me @ Twitter | Linkedin | Facebook | Stumble

6 Comments »

  • Viraj – Start a new web business from scratch said:

    What is the purpose of creating a virtual drive. You should explain that first

  • Ashish Mohta (author) said:

    That is certainly a good point Viraj. I will keep that in mind.

  • Mark said:

    Tried this repeatedly, MS DOS response is either ‘path not found’ or ‘incorrect number of parameters’.

  • Nick said:

    I remember using DOS to create a virtual drive in memory, so that a DVD could be loaded to memory and would play smoothly. Does the “subst” command do that? Or is there another command which isn’t listed when you simply type help to display all the commands?

  • Nick said:

    I looked it up, and all the SUBST command does is associate a path with a drive letter. It doesn’t create a virtual drive in memory. It’s only purpose is to make it easier to get to a long path name by using a drive letter.

    How do you make a virtual drive in memory? I have 2 gigs of memory, and the VOB files on my DVD’s are 1gig files that I won’t to simply copy to memory so they will play smoothly. I don’t understand why Windows Media Player won’t just load the DVD to memory itself, so I have to do it manually.

  • shetu said:

    Hi
    Can I add multiple folder one virtual drive?

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.