Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO off
- TITLE отправка файлов в ВБРР
- CLS
- SET CurDate=%DATE%
- SET DownloadPath="C:\Users\Admin\Downloads"
- SET VBRRpatch="C:\Users\Admin\Downloads\VBRR"
- SET TimeOutSet=5
- tasklist | find "firefox"
- if errorlevel 1 goto NoRecord
- ECHO Процесс Firefox обнаружен!
- tskill *firefox* /a /v
- tskill *plugin-container* /a /v
- TIMEOUT %TimeOutSet%
- goto Done
- :NoRecord
- ECHO Процессы Firefox не обнаружены!
- TIMEOUT %TimeOutSet% >nul
- :Done
- IF EXIST %VBRRpatch%\%CurDate%\roi_73000_%CurDate%.xml (
- TIMEOUT %TimeOutSet%
- cd "C:\Users\Admin\Firefox_51_upload"
- start FirefoxPortable.exe imacros://run/?m=vbrr.iim
- exit 0
- ) ELSE (
- exit 1
- )
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement