Subversion Repositories userdetect2

Rev

Rev 68 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
68 daniel-mar 1
@echo off
2
 
3
ping kel > nul
4
if /I %ERRORLEVEL% EQU 0 call :backup_kel
5
 
6
testuser
7
 
8
testuser ":HOMECOMP:"
9
 
10
testuser ":HOMECOMP:" "\\SPR4200\C$\Dokumente und Einstellungen\Daniel Marschall"
11
if /I %ERRORLEVEL% EQU 0 goto backup_spr4200_dm
12
 
13
testuser ":HOMECOMP:" "\\SPR4200\C$\Dokumente und Einstellungen\Ursula Marschall"
14
if /I %ERRORLEVEL% EQU 0 goto backup_spr4200_um
15
 
16
goto end
17
 
18
REM -----------------------
19
 
20
:backup_kel
21
echo Remote backup script for host KEL
22
exit
23
 
24
REM -----------------------
25
 
26
:backup_spr4200_dm
27
echo Backup script for Daniel Marschall at SPR4200
28
goto end
29
 
30
:backup_spr4200_um
31
echo Backup script for Ursula Marschall at SPR4200
32
goto end
33
 
34
:end
35
pause.