@ECHO OFF NET TIME \\SERVER1 /SET /YES NET USE M: \\SERVER1\REPOSITORY