Does Windows (XP or later) have a built-in way to create persitent drive mappings, like the ones SUBST creates? I found a 3rd party tool psubst. Is there a way to do it without 3rd party tools?
feedback
|
|
Well Wikipedia mentions:
So yes you can do the same without the program, but the program seems to be darn handy, plus they provide a solution to run it from startup:
| |||||||||
feedback
|
|
Did you even read the page you linked to? You don't need the third party tool, you can do it with a simple registry entry, as detailed on that page. Create a text file named 'mapdrive.reg' with these contents:
Then should just be able to double-click on it to set up, no 3rd party tools needed. | |||||||||||||
feedback
|
|
Installing it at
Source: http://networkadminkb.com/KB/a446/how-to-use-drive-letters-mount-points-the-same-disk-drive.aspx | ||||
|
feedback
|
|
Drop a batch file in your Startup folder that does all the SUBSTs that you want to do. | |||
|
feedback
|
|
I found this because I was looking for an improvement over my startup subst scripts - they worked OK, but sometimes executed after folders crashed on startup because my drive wasn't yet mapped. First, I edited the registry, but was unable to get it to work. However, I did come across this alternative, which although it doesn't use subst does answer for me the question, "How to make SUBST mapping persistent across reboots?" Don't use subst... (insert appropriate 'computerName' and 'pathName'): net use u: "\\computerName\c$\pathName" /persistent:yes I adapted this from Hank Arnold's suggestion at this discussion of mapping local drives. I had guessed that \\myComputerName\c might work, but I didn't know to apply the $. Before you try the "net use" command, try to navigate to \\computerName\c$to make sure you have 'computerName' correct. | |||
feedback
|
|
Actually, the PSUBST tool joins two different ways of creation of substituted drives in Windows. If you want to have persistent drives between startups then you can run this tool once per each drive that you need. Another way is to use the method suggested by "davr". the PSUBST tool just makes the same but allows to make it in the easier way. | |||
|
feedback
|