Example of user logon REGEDIT4 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] "F Drive"="SUBST f: d:\\mount\\db" "G Drive"="SUBST g: d:\\mount\\log" The user must log off and back on for the changes to take effect. Subst Command Windows 7 Invalid Parameter share|improve this answer answered Aug 13 '15 at 19:19 Mike payne 211 add a comment| up vote 1 down vote Just to add to the answers above. Download Visual Subst from http://www.ntwind.com/software/utilities/visual-subst.html To install Visual Subst, double-click on the .exe file you downloaded. http://superuser.com/questions/217561/why-is-a-subst-drive-usable-from-a-command-prompt-but-not-windows-7-explorer click all the appropriate ‘ok' and "applies", then close the manage window.
as an administrator click "start", right-click on "computer, select "manage", in the left frame - select "disk managment". (lower right frame) you can assigned specific letters to removable media by right-clicking Hkey_local_machine\system\currentcontrolset\control\session Manager\dos Devices Why declaring 1,000,000,000 as 1000*1000*1000 How to check if a given string is a substring of an element of a list Who are the people on this picture? Would rather use shortcuts to UNC path. To unmap the drive, type in the following command at the command prompt: C:\>SUBST [drive:] /D Custom label A custom label can be assigned to a drive letter created in
Subst Command Windows 7 Invalid Parameter
Is that a bug? http://stackoverflow.com/questions/30586011/cannot-subst-local-drives-as-administrator Required fields are marked *Comment Name * Email * Website Daily Email Newsletter Featured PostsHow to Check if Your VPN Connection is Actually EncryptedThe Best Free Apps for a New iPhoneView Subst Windows 7 Persistent This way, you can remove the original drive letter all together, and have it mounted under a directory only. Subst Drive Not Showing Explorer windows-7 windows windows-8 share|improve this question edited Aug 13 '15 at 20:40 nixda 16k65094 asked Sep 13 '13 at 3:51 PaoloFCantoni 66341222 add a comment| 7 Answers 7 active oldest votes
BEST OF HOW-TO GEEK Windows 10 Is Almost Here: Here's What You Need to Know 10 Quick Ways to Speed Up a Slow Mac How to Sync Your Browser Data in weblink In the command prompt window, type the following command to associate drive "Y:" with the folder. Not only that, but you can have other programs, such as services, etc, access the virtual drive even before Windows fully starts up because the drive will be available. Which can work in a similar way. Subst Not Working Windows 10
- Required fields are marked *Comment Name * Email * Website Subscribe to Our Newsletter Featured Posts5 Ways to Make Sure No One is Monitoring Your ComputerHDG Explains - Swapfile.sys, Hiberfil.sys and
- November 14, 2008 abhishek Quite nice tool, but it shows the free space of the new drive equal to the original drive than the size of the folder on which the
- Here is an example: @ECHO off SUBST f: d:\mount\db SUBST g: d:\mount\log The user must log off and back on or the service must be restarted for the changes to take
I've found the subst command to be very useful, not just in shortening folder paths but also in one instance where I wanted to delete my second partition… I just reassigned REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices] "F:"="\\??\\D:\\Mount\\db" "G:"="\\??\\D:\\Mount\\log" After configuring the registry the computer must be rebooted for the changes to take effect. The subst command still works in Windows 7! navigate here Now when you open up your Computer window, you should see the new drive show up in the list.
Enter Your Email Here to Get Access for Free: Go check your email! Subst Windows 10 Please help improve this article by adding citations to reliable sources. However, labels created for SUBST drives in this manner are overridden by the label of the host drive/partition: the custom labels are only used if the host drive has no label.
Change your "location"/"target" to: %COMSPEC% /C "IF exist M:\ ( SUBST M: /D & ECHO Drive M: deleted & SUBST & pause ) ELSE ( SUBST M: D:\MyFolder & SUBST &