Quote:
Originally Posted by FizzyWater
okay, dumb question
I tried this and it worked. End of the day I shut down the computer and now when I turned it back on, that drive is no longer showing.
Do I have to map it to a drive every time I reboot?
|
You can make a SUBST command persistent by creating the following registry key, which might be simpler under some circumstances than the NET USE command - copy the following into a text file, amending where appropriate, save as "something.reg" and double-click to merge to the Registry. The change will be applied next time you reboot.
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\DOS Devices]
"X:"="\\??\\D:\\My\Very\Long\And\Complicated\Path\ To\My Data"
Note the double backslashes after the drive letter where your path exists, the normal single backslash won't work.
BTW, the forum software keeps inserting a space in "Contro l" in spite of my best efforts, obviously it should be "Control" without a space.