wapt-backuppc-agent/pre-exec.cmd

8 lines
264 B
Batchfile
Raw Permalink Normal View History

2018-12-05 11:28:42 +01:00
@echo off
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