-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLaunchWrapper.bat
More file actions
37 lines (27 loc) · 813 Bytes
/
LaunchWrapper.bat
File metadata and controls
37 lines (27 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
:: Peter Danshov
:: pdanshv@gmail.com 12.02.14
:: This batch file launches the Altova MapForce wrapper for
:: processing EDI files, and leaves logs in the same folder
:: it is run from.
::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@ECHO off
:: Logs are in the same folder as this batch file
echo "" > wrapper_bat.log
echo %DATE% - %TIME% >> wrapper_bat.log
echo "" >> wrapper_bat.log
call :main>>wrapper_bat.log 2>&1
PAUSE
EXIT /b
:main
echo Start time is: %date% %TIME%
ECHO.
cd MapWrapper
c:\windows\system32\cmd.exe /c CSIWrapper2008.exe ..\Raw ..\Processed ..\FA >> wrapper_main.log
::sleep 1200000 >> Email_Two.log
timeout /T 7 >> Email_T.log
::pause
ECHO.
EXIT /b