Questions tagged [subst]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
101 views

"DOS Devices" to directory (aka permanent SUBST) not honored after Windows 21H1 update

Previously, a device mapping had been established using HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices to add an alias from D:\ to C:\Build. This approach discussed in ...
1
vote
1answer
44 views

Reasign a drive letter with subst still shows wrong name

I created a ps1 script to mount a folder to the Drive S. This works fine. When I reassign an other folder it still works but the name in the explorer wont be updated. But the correct folder is assign. ...
0
votes
1answer
15 views

Prevent Direct access to original subst folder on Windows

I have this subst rule in my Windows 10 PC. d:\Media => E: But the problem is that all search-related program shows two copy of the folder, which is annoying. Some of them have exclude directory ...
0
votes
0answers
24 views

Have instant move operations between subst drive and host drive

I have a subst partition. Let say D:\X\ -> X: I need 3 features along with it. A) Recycle Bin (Found tricks already for that) B) Instant move operations between D: and X: C) No access to D:\X\ ...
2
votes
0answers
537 views

Find out the real path of a file from a SUBST drive

Is it possible to find the real location of a file, knowing its location on a drive created with subst? Example: > subst d: c:\dir\ > real_path "c:\file" c:\file > real_path "d:\file" c:\dir\...
1
vote
2answers
561 views

Drive mappings not visible in "net use" or "subst", what kind of drive mappings are they?

A customer is using ExpanDrive for creating network drives. As a result the commands net use and subst don't give any results. However the command wmic logicaldisk reveals the mentioned drive ...
1
vote
1answer
2k views

how to change the Volume of a virtual drive created by subst?

i'm using subst to create virtual drive mapping to a working folder for ease of use (i can't use mklink as "secpol.msc" is disabled, or new-symlink as power script is disabled), the Volume of the ...
5
votes
2answers
2k views

Can I run a subst as admin when I startup?

I have a subst command in my startup folder. It adds my Visual Studio projects to a different drive so that it is easier to access, and also so that the path doesn't get too long. Occasionally I need ...
5
votes
1answer
5k views

Renaming volume created via "DOS Devices" registry key?

Following the instructions in this question, I have created two drives that point to folders on an existing drive. Everything works great. The only problem is that they all have the same volume ...
1
vote
1answer
2k views

Net Use command with relative target path

I have a batch file located in several folders and in this file I need to replace the old subst T: . command for net use because the units (drives) have different properties in windows 7. However, I ...
0
votes
1answer
1k views

Mount a file/folder as a removable drive

I'm trying to test an application I've written to image USB drives when they're plugged in. Unfortunately, I've just lent my last one to a friend. I know I can mount a folder as a drive using subst ...
3
votes
0answers
590 views

SUBST for OSX? Error when trying to map local folder as network drive on Mac OSX 10.9

I would like to map a local folder as a drive (similar to Window's SUBST). One solution I found was to map a shared folder, which would be fine but I get the following error when using a local folder:...
1
vote
2answers
763 views

SUBST referring path without drive letter

Currently I am making virtual drives using SUBST. subst T: D:\test Now I want to hide my D drive. How to remove a drive letter? And then how can I make a virtual drive referring to a drive that ...
1
vote
1answer
2k views

unable to remove subst-ed drive

machine: Windows 8 64bit, single user with admin rights I've probably used subst to make a new Q: virtual drive for my C:\portableDrive folder. Now I can't see it when I type "subst" command in the ...
1
vote
1answer
5k views

Subst drive invisible in non-admin processes

I have a local folder, X:\Source\Q_Project that I want to map to the Q: drive letter. I use a shortcut that points to a batch file for this. The batch file is: @echo off subst q: /d subst q: X:\...
1
vote
3answers
1k views

Windows 7 gui doesn't display a mapped drive b:

This is an annoyance more than a roadblock, but it doesn't seem to make sense. On my XP box, I got used to subst or mapping drive A: to my general notes and work in progress folders, and drive B: was ...
0
votes
2answers
593 views

net use vs susbst

There are many questions on stackexchange asking for a persistent across reboot functionality, and the answers point either to registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session ...
4
votes
7answers
21k views

Unable to unmount "subst" drive

So I have this G: drive which I'm 99% sure I "mounted" using subst to associate a folder with a drive letter. If I double click on it I see the contents of C:\User\Marcel\Google Drive. Anyway, now I ...
33
votes
2answers
83k views

How to delete Windows 7 virtual drive

I created a virtual drive using "SUBST" command . But i can not delete now . Can anybody tell me how can I delete this virtual drive.
5
votes
2answers
655 views

Why can't I index a SUBST'd drive in Windows7?

I've got a SUBST for a folder to drive letter P: I have noticed that exploring these folders from P: is now INCREDIBLY slow, taking up to a minute sometimes to show files. I'm showing them as general ...
3
votes
2answers
1k views

How to make a subst a USB drive appear as a local (non-removable) drive?

I have a set of USB drives (e.g. WD My Book) with different test data sets in different directories. I need to mount these directories as a drive letter. To accurately test the behavior, this drive ...
16
votes
7answers
5k views

Recycle bin on substed drives

I've created a substed drive on Windows 7. When I delete a file, it doesn't go to the recycle bin, instead it is deleted permanently. Recycle bin properties do not show this drive at all. Any hack ...
11
votes
4answers
16k views

Why is a subst drive usable from a command prompt but not Windows 7 explorer

I have a registry key under [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] The value of the key is "c:\windows\system32\cmd.exe" /c subst t: e:\MyFolder More often than not when I ...
2
votes
2answers
567 views

subst performance

Does substing a directory affects the performance creating/reading/updating many small files in the substed volume? (will use svn there) If yes, how serious is the "penalty"?
-1
votes
3answers
2k views

Why is a SUBST'd drive inaccessible via shortcut or Run menu, but works fine from My Computer? [closed]

I have shortcuts to C:, D:, and E: in my quick launch bar. C and E work fine when I click on them, but D does nothing (that I can see) when I click on it. D and E are both SUBST'd drives pointing to ...
14
votes
2answers
18k views

How to mount NTFS folder in another NTFS folder

Is there any way to redirect one NTFS folder to another? Say, to access C:\Program Files\Modules through S:\Modules? There is subst for mounting folders as drives, and diskpart and mountvol for ...