-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MAIN.BAT
117 lines (101 loc) · 1.39 KB
/
MAIN.BAT
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
@ECHO OFF
:BEGIN
pm.exe
IF ERRORLEVEL 16 GOTO NDBA
IF ERRORLEVEL 15 GOTO VHFA
IF ERRORLEVEL 14 GOTO TRSA
IF ERRORLEVEL 13 GOTO VORTRASOWY
IF ERRORLEVEL 12 GOTO GSARCH
IF ERRORLEVEL 11 GOTO LOCARCH
IF ERRORLEVEL 10 GOTO VORARCH
IF ERRORLEVEL 9 GOTO KALIBRACJA
IF ERRORLEVEL 8 GOTO CallPMD
IF ERRORLEVEL 7 GOTO VHF
IF ERRORLEVEL 6 GOTO NDB
IF ERRORLEVEL 5 GOTO VOR
IF ERRORLEVEL 4 GOTO GS
IF ERRORLEVEL 3 GOTO LOC
IF ERRORLEVEL 2 GOTO BazaDanych
IF ERRORLEVEL 0 GOTO END
:NDBA
AN
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:VHFA
AH
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:TRSA
AT
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:VORTRASOWY
PTT
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:GSARCH
AG
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:LOCARCH
AL
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:VORARCH
AV
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:KALIBRACJA
PK
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:CallPMD
nc
smartdrv/c
rem ADS FLUSh >NUL
GOTO END
:VHF
PH
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:NDB
PN
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:VOR
PV
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:GS
PG
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:LOC
PL
smartdrv/c
rem ADS FLUSh >NUL
GOTO BEGIN
:BazaDanych
plkbd /alt:right /pl:latin2 >NUL
plega c:\utils\cp852alt.scr /mem:18 >NUL
database.exe
plega /u >NUL
plkbd /u >NUL
smartdrv/c >NUL
rem ADS FLUSh >NUL
GOTO BEGIN
:END
smartdrv/c > NUL
rem ADS FLUSh >NUL