NET GROUP Marketing /DOMAIN | FINDSTR /R /I /B /C:"%UserName%$" >NUL IF NOT ERRORLEVEL 1 ( NET USE G: \\Server\Marketing /PERSISTENT:No )