Windows 10: Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10

Discus and support Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 in Windows 10 Tutorials to solve the problem; How to: Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 How to Mount Folder as Virtual Drive in Windows 7, Windows 8, and... Discussion in 'Windows 10 Tutorials' started by Brink, Jul 28, 2018.

  1. Brink Win User

    Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10


    How to: Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10

    How to Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10


    In Windows, you can mount any folder at any location as a virtual drive with a drive letter.

    When you mount a folder as virtual drive, you will be able to access the folder from the virtual drive. The contents of the folder will still physically be located in the folder. Anything you save into the virtual drive will actually be saved to the folder's location.

    Virtual drives from mounted folders are not persistent and only available during the current user session by default. If you shut down the computer, all current virtual drives will be removed (unmounted).

    See also:
    This tutorial will show you how to mount any folder as a virtual drive with a drive letter in Windows 7, Windows 8, and Windows 10.


    Contents

    EXAMPLE: Folder mounted as virtual drive in Windows 10 File Explorer > This PC

    Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 [​IMG]







    OPTION ONE [/i] See All Current Virtual Drives for Mounted Folders
    1 Open a command prompt.

    2 Type subst into the command prompt, and press Enter. (see screenshot below)

    3 You will now see a list of all current virtual drives.


    Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 [​IMG]






    OPTION TWO [/i] Mount Folder as Virtual Drive
    1 Open a command prompt.

    2 Type the command below into the command prompt, and press Enter. (see screenshot below)
    subst <virtual drive letter>: "Full path of folder"

    Substitute <virtual drive letter> in the command above with a currently unused drive letter (ex: "G") you want to be assigned to the virtual drive.

    Substitute Full path of folder in the command above with the actual full path of the folder (ex: "C:\Users\Brink\Desktop\Any Folder") you want to be mounted as a virtual drive.

    For example: subst G: "C:\Users\Brink\Desktop\Any Folder"


    Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 [​IMG]

    3 If you like, you can rename the virtual drive to what you want.

    The virtual drive will have the same name as the source drive/volume of the folder by default.

    If the source drive/volume of the folder has been renamed, then the virtual drive cannot be renamed.

    If you rename the virtual drive, this name will be persistent each time you mount the same folder path using the same drive letter.


    4 You can close the command prompt if you like.





    OPTION THREE [/i] Remove Virtual Drive for Mounted Folder
    This option can be handy when you want to remove a virtual drive for a mounted folder without having to shut down the computer.


    1 Open a command prompt.

    2 Type the command below into the command prompt, and press Enter. (see screenshot below)
    subst <virtual drive letter>: /d

    Substitute <virtual drive letter> in the command above with the drive letter (ex: "G") of a virtual drive you want to remove.

    3 You can close the command prompt if you like.


    Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 [​IMG]






    OPTION FOUR [/i] To Always Mount Folder as Virtual Drive at Startup
    This option allows the folder to always be mounted as a virtual drive even after you shut down the computer.


    1 Open Notepad.

    2 Type the commands below into Notepad. (see screenshot below)
    @echo off
    subst <virtual drive letter>: "Full path of folder"

    Substitute <virtual drive letter> in the command above with a currently unused drive letter (ex: "G") you want to be assigned to the virtual drive.

    Substitute Full path of folder in the command above with the actual full path of the folder (ex: "C:\Users\Brink\Desktop\Any Folder") you want to be mounted as a virtual drive.

    For example:
    @echo off
    subst G: "C:\Users\Brink\Desktop\Any Folder"


    Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 [​IMG]

    3 In Notepad, press the Ctrl + S keys OR click/tap on File (menu bar) and click/tap on Save to save this as a batch (.bat) file. (see screenshot below)

    Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 [​IMG]

    4 Perform the following actions in the Save As dialog: (see screenshot below)
    1) Navigate to where (ex: "Desktop") you want to save the .bat file.

    2) Select All Files (*.*) in the Save as type drop menu.

    3) Type a name you want for this batch file along with the .bat file extension.

    It is recommended to name the .bat file something to let you know which folder it is mounting as a virtual drive. For example: G-Any Folder.bat

    4) Click/tap on Save.


    Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 [​IMG]

    5 You can now close Notepad.

    6 Open File Explorer Win + E.

    7 Save a copy of the .bat file into the Startup folder(s) of the user(s) you want to always have the folder mounted as a virtual drive. (see screenshot below)

    You will need to be signed in as an administrator to save a copy of the .bat file into the Startup folder of another user or for all users.

    To undo this for a virtual drive, delete its .bat file in the Startup folder.

    Startup folder location for user:
    C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

    Startup folder location for all users:
    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup


    Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 [​IMG]

    8 You can now close File Explorer.

    That's it,
    Shawn


    Related Tutorials

    :)
     
    Brink, Jul 28, 2018
    #1
  2. Ahhzz Win User

    Windows 10 Tweaks

    Pressing “Windows+Pause Break” (it’s up there next to scroll lock) opens the “System” Window.

    Windows 10: In the new version of Windows, Explorer has a section called Quick Access. This includes your frequent folders and recent files. Explorer defaults to opening this page when you open a new window. If you’d rather open the usual This PC, with links to your drives and library folders, follow these steps:

    • Open a new Explorer window.
    • Click View in the ribbon.
    • Click Options.
    • Under General, next to “Open File Explorer to:” choose “This PC.”
    • Click OK


    credit to Lifehacker.
     
    Ahhzz, Oct 27, 2019
    #2
  3. RoboX Win User
    Windows 8 - delete windows folders in another drive

    I have the problem (from Windows 8) to delete the folders windows and programs on a secondary disk on which it was 7 .... know how to get full control to delete those folders?
     
    RoboX, Oct 27, 2019
    #3
  4. Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10

    Windows 8 - delete windows folders in another drive

    Just run "cleanmgr.exe" in the run command or in a command prompt and select the drive you want to clean......
     
    VulkanBros, Oct 27, 2019
    #4
  5. Windows 7 Lover's Club: For Those Who Like Windows 7 As Opposed To Windows 8

    Description:
    • For anyone who likes Windows 7 as opposed to Windows 8 and wants to keep Windows 7 and not upgrade to Windows 8.
    • Also for anyone who does not hate Windows 8 but refuses to upgrade because Windows 7 is perfect.
    Requirements:
    • Be human. Male or female will suffice.
    • Love or Like Windows 7 much more than Windows 8.
    To Join:
    • Make a post.
    Benefits:
    • You will find true love one day.
    • You have have a chance to get rich one day.
    • You will have a chance for your dreams to come true one day.
     
    vawrvawerawe, Oct 27, 2019
    #5
  6. Installing Windows 10 using Windows 7 key

    Nope, you need to install Windows 10 first and make sure the Windows 7 key is transferred to your Windows account after you've installed Windows 10 (not quite sure how that works). I missed the last step and I could not activate Windows 10 after a re-install... Microsoft seem to have done everything they can to make it a PITA. Also, it's technically too late to do this now anyhow, as the upgrade offer has expired. But KMSPico works quite well...

    As for getting rid of Windows, delete the Windows folder.
     
    TheLostSwede, Oct 27, 2019
    #6
Thema:

Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10

Loading...
  1. Mount Folder as Virtual Drive in Windows 7, Windows 8, and Windows 10 - Similar Threads - Mount Folder Virtual

  2. Upgrading Windows 7/8 to Windows 10

    in Windows 10 Updates and Activation
    Upgrading Windows 7/8 to Windows 10: I have some legal/technical questions Today I updated 3 pcs to Windows 10 1909 PC1: Windows 7 pro to Windows 10 pro, I didn't need to provide a license key. PC2: Windows 8 Home to Windows 10 Home, I didn't need to provide a license key, but when I tried to upgrade from...
  3. Installing Windows 7 image on a virtual drive in Windows 10

    in Windows 10 Installation and Upgrade
    Installing Windows 7 image on a virtual drive in Windows 10: Hi, I have Windows 10 Pro on a new desktop. I have created before an image of Windows 7 system on my older PC. I was wondering if I create a virtual drive in Windows 10 (on Hard Disk), whether it's possible to restore the Windows 7 image on the virtual drive ??...
  4. Restoring Windows 7 Image onto virtual drive in Windows 10

    in Windows 10 Virtualization
    Restoring Windows 7 Image onto virtual drive in Windows 10: I have Windows 10 Pro on a new desktop. I have created before an image of Windows 7 system on my older PC. I was wondering if I create a virtual drive in Windows 10 (on Hard Disk), whether it's possible to restore the Windows 7 image on the virtual drive ?? 125591
  5. Restoring Windows 7 Image onto virtual drive in Windows 10

    in Windows 10 Installation and Upgrade
    Restoring Windows 7 Image onto virtual drive in Windows 10: Hi, I have Windows 10 Pro on a new desktop. I have created before an image of Windows 7 system on my older PC. I was wondering if I create a virtual drive in Windows 10 (on Hard Disk), whether it's possible to restore the Windows 7 image on the virtual drive ??...
  6. Mount Drive to a Folder in Windows 10

    in Windows 10 Tutorials
    Mount Drive to a Folder in Windows 10: How to: Mount Drive to a Folder in Windows 10 How to Mount a Drive to a Folder in Windows 10 You can assign a mount point folder path to a drive to have the drive appear as a normal folder located where you want. With you mount an internal or external drive to an...
  7. Mounting a Folder as shared network drive

    in Windows 10 Network and Sharing
    Mounting a Folder as shared network drive: Hi there not sure if it's me or has W10 changed the way you mount network drives I used to be able to add say HDD2/Music as a "Network drive" on say Z. Now it seems I can only mount HDD2 as a network drive. (I.e top level directory rather than one of the subfolders - in...
  8. Issue with Windows auto-mounting drives that shouldn't be mounted

    in Windows 10 Drivers and Hardware
    Issue with Windows auto-mounting drives that shouldn't be mounted: [img] You can see from the image above that random drives get drive letters assigned to them for no reason. In addition to that, I can't even remove the drive letters, unless I use diskpart, but then that doesn't stick between reboots. Any ideas? 41103
  9. Windows 8, 8.1 & 10 versus Windows 7

    in Windows 10 Support
    Windows 8, 8.1 & 10 versus Windows 7: I have been a power user of Microsoft Windows based desktop operating systems for 20 years, starting with Windows 3.1. I will be honest and state immediately that I strongly dislike Microsoft's most recent OS releases, which obviously includes Windows 8, Windows 8.1 and...
  10. Dual Boot Windows 10 with Windows 7 or Windows 8

    in Windows 10 Tutorials
    Dual Boot Windows 10 with Windows 7 or Windows 8: How to: Dual Boot Windows 10 with Windows 7 or Windows 8 How to Dual Boot Windows 10 with Windows 7 or Windows 8 [img] Information Windows 10 is here. This tutorial will show you step by step on how to dual-boot Windows 10 with Windows 7 or Windows 8....