Advertisement
Wasif_Hasan_

SafeNetDriveMapper.bat

Sep 18th, 2020
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.15 KB | None | 0 0
  1. @echo off
  2. for /f "tokens=2 delims= " %%a in ('net use * \\server\share ^| find "is now connected"') do set "drive=%%a"
  3. echo Mapped drive letter: %drive%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement