VER | FINDSTR /L "5.1." > NUL IF %ERRORLEVEL% EQU 0 goto xp NET USE H: /DELETE /YES NET USE I: /DELETE /YES NET USE L: /DELETE /YES if exist X:\ NET USE X: /DELETE /YES if exist Y:\ NET USE Y: /DELETE /YES :xp if not exist I:\ net use I: \\se3\Docs if not exist H:\ net use H: \\se3\Classes if not exist L:\ net use L: \\se3\Progs echo %USERNAME if %USERNAME% == admin goto admin goto imp :admin if not exist X:\ net use X: \\se3\admhomes if not exist Y:\ net use Y: \\se3\admse3 pause :imp start /B cscript //B %SYSTEMROOT%\Printers.vbs