25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
360 B
14 lines
360 B
@echo off
|
|
|
|
REM Ensure there's no rsync already running
|
|
tasklist /FI "IMAGENAME eq rsync.exe" 2>NUL | find /I /N "rsync.exe">NUL
|
|
if "%ERRORLEVEL%"=="0" exit 255
|
|
tasklist /FI "IMAGENAME eq vshadow.exe" 2>NUL | find /I /N "vshadow.exe">NUL
|
|
if "%ERRORLEVEL%"=="0" exit 255
|
|
cd \backuppc
|
|
|
|
cscript pre-cmd.vbs >NUL
|
|
|
|
rsync.exe %* 2>NUL
|
|
|
|
echo '1' > wake.up |