How do I use Subst in Windows?

The subst tool is not an exclusive feature of Windows 10….To Create Virtual Drive From A Folder in Windows 10,

  1. Open a new command prompt instance.
  2. Type the following command: subst path\to\folder .
  3. Replace the portion with the actual drive letter you want to assign to the virtual drive.

What does subst do in CMD?

Use the SUBST command to substitute a drive letter for a path in order to treat a virtual drive (a reserved area rather than an actual disk drive) as a physical drive. If you enter the SUBST command without options , the program will display the name of the current virtual drives that are in effect (if any).

Is SUBST command permanent?

So what’s the problem with using the SUBST command? It’s not persistent! That means when you restart the computer, your drive is gone. You have to create it again and you can’t have any startup program try to access the substituted drive since it’ll disappear.

What is subst EXE?

In computing, SUBST is a command on the DOS, IBM OS/2, Microsoft Windows and ReactOS operating systems used for substituting paths on physical and logical drives as virtual drives.

What is subst in batch file?

Advertisements. This batch command assigns a drive letter to a local folder, displays current assignments, or removes an assignment.

How do I unmap a virtual drive?

Press the Win+R in combination to open the ‘Run’ dialog box. Type ‘diskmgmt. msc’ in Run and click OK to open Disk Management. When the Disk Management console opens up, right-click the virtual disk listed in the Volume column and select ‘Delete Volume’.

How do I unmap a drive in Command Prompt?

Use Command Prompt to delete a mapped network drive from Windows. One method that works in all modern versions of Windows is to use the Command Prompt. Open it and type: net use drive letter /delete. Then, press Enter.

How do you use Visual Subst?

To create a virtual drive for your folders using Visual Subst, all you need to do is select a drive letter and then select the directory that you want to be associated with that drive. Hit the green plus icon to create that virtual drive.