@echo off net use n: /delete 2>&1>NUL: rem net use n: \\shandsdfs\files\apps\oncall "" /user:shands\oncall net use n: \\159.178.61.167\apps$\oncall "" /user:shands\oncall /persistent:NO if "%errorlevel%" == "2" goto try2 goto run_it :try2 net use n: \\shandsdfs\files\apps\oncall "" /user:shands\oncall /persistent:NO if "%errorlevel%" == "2" goto try3 goto run_it :try3 net use n: \\shandsdfs\files\apps\oncall /persistent:NO if "%errorlevel%" == "2" goto goofed :run_it n: oncallpu goto exitme :goofed echo Well this did not work....please contact support 265-6971 pause :exitme %HOMEDRIVE% echo Y | net use n: /delete