No Way to Hide a Drive Mapping
Keywords: drive map hide
Question:
Is there a way to map a drive within a WinBatch script and keep the drive letter accessible only to that session ?? In other words, I don't want the drive letter to show up in Explorer or anywhere else in the rest of my Windows NT sessions.Answer:
Nope, drive mappings are global.You could map the drive without assigning a drive letter, by specifying @NONE for the "local-drive" parameter, and then access the files on it via UNC's (\\server\volume), if the program you're using supports UNC's and doesn't need drive letters.
Article ID: W13487Filename: Hiding Drive Mappings.txt