Created
January 6, 2013 16:22
-
-
Save Temikus/4468278 to your computer and use it in GitHub Desktop.
A set of bat files for testing drive/folder association.
1) Add a virtual drive with letter T.
2) Clean up the association record.
3) Delete the virtual drive.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo Creating a test empty folder... | |
mkdir C:\TempDriveT | |
subst T: C:\TempDriveT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] | |
"My Pictures"=- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo Creating a test empty folder... | |
subst T: /d | |
rmdir C:\TempDriveT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment