@TITLE = "Connect to CUIT Shared Drives (M: and S: drives)" @echo off cls color 17 net use M: /delete > nul 2>&1 net use S: /delete > nul 2>&1 SET /P UNI=Please type your UNI then press Enter: echo. echo When prompted, please type your current UNI password then press Enter. echo *Please note that your password will not display as it is being entered below* echo. cmdkey /add:c-gp2.ais.columbia.edu /user:ADCU\%UNI% /pass: net use M: \\c-gp2.ais.columbia.edu\grp2 /persistent:yes > nul net use S: \\c-gp2.ais.columbia.edu\grp3 /persistent:yes > nul color