Can anyone help me to write this in VB script.
I am able to map all drives, but on the H: drive i would like the script to actually create a folder with the users name and map it to the H drive. Also i get an error message if the network drive is mapped already. thanks.
That is the part i cant get to work.
rem Map Network Drives
REM NET USE * /DELETE
NET USE E: /DELETE /YES
REM NET USE F: /DELETE
REM NET USE G: /DELETE
REM NET USE J: /DELETE
rem NET USE E: \\Icverify\request
NET USE E: \\Icvsvr\request
NET USE F: \\W2003svr\Pdcmain
NET USE G: \\W2003svr\Depts
NET USE H: \\W2003svr\Pdcmain\Users\%username%
NET USE I: \\term-srvr-2003\ts3server
NET USE J: \\W2003svr\docs
I am able to map all drives, but on the H: drive i would like the script to actually create a folder with the users name and map it to the H drive. Also i get an error message if the network drive is mapped already. thanks.
That is the part i cant get to work.
rem Map Network Drives
REM NET USE * /DELETE
NET USE E: /DELETE /YES
REM NET USE F: /DELETE
REM NET USE G: /DELETE
REM NET USE J: /DELETE
rem NET USE E: \\Icverify\request
NET USE E: \\Icvsvr\request
NET USE F: \\W2003svr\Pdcmain
NET USE G: \\W2003svr\Depts
NET USE H: \\W2003svr\Pdcmain\Users\%username%
NET USE I: \\term-srvr-2003\ts3server
NET USE J: \\W2003svr\docs