Fix usage example for Golded+ return codes
This commit is contained in:
parent
8c8b42afc4
commit
d78360ce52
42
golded.bat
42
golded.bat
@ -3,21 +3,23 @@ rem
|
|||||||
rem This is Golded's run command file example.
|
rem This is Golded's run command file example.
|
||||||
rem
|
rem
|
||||||
rem
|
rem
|
||||||
|
SET flagpath=M:\flag
|
||||||
|
SET fastechopath=M:\fastecho
|
||||||
|
|
||||||
rem Command runs if netmail wrote
|
rem Flag to creates if netmail wrote
|
||||||
SET _NET_ACT=cd.>>M:\flag\netmail.flg
|
SET _NET_FLAG=%flagpath%\netmail.flg
|
||||||
|
|
||||||
rem Command runs if echomail wrote
|
rem Flag to creates if echomail wrote
|
||||||
SET _ECHOACT=cd.>>M:\flag\netmail.flg
|
SET _ECHO_FLAG=%flagpath%\echomail.flg
|
||||||
|
|
||||||
rem Command runs if localmail wrote
|
rem Flag to creates if localmail wrote
|
||||||
SET _LOCALACT=cd.>>M:\flag\netmail.flg
|
SET _LOCAL_FLAG=%flagpath%\locmail.flg
|
||||||
|
|
||||||
rem Command runs if messagebase is damaged
|
rem Command runs if messagebase is damaged
|
||||||
SET _REPAIRACT=M:\fastecho\feutil check
|
SET _REPAIRACT=%fastechopath%\feutil check
|
||||||
|
|
||||||
rem Command runs if messagebase indexes is damaged
|
rem Command runs if messagebase indexes is damaged
|
||||||
SET _REBUILDACT=M:\fastecho\feutil index
|
SET _REBUILDACT=%fastechopath%\feutil index
|
||||||
|
|
||||||
|
|
||||||
M:\GOLDED\GOLDED.EXE
|
M:\GOLDED\GOLDED.EXE
|
||||||
@ -49,47 +51,47 @@ If ErrorLevel 001 Goto ____L
|
|||||||
:E_N_L
|
:E_N_L
|
||||||
Echo.
|
Echo.
|
||||||
Echo **** New Echo, Net and Local mail entered! ****
|
Echo **** New Echo, Net and Local mail entered! ****
|
||||||
%_NET_ACT%
|
cd . >>%_NET_FLAG%
|
||||||
%_LOCALACT%
|
cd . >>%_LOCAL_FLAG%
|
||||||
Goto purge
|
Goto purge
|
||||||
|
|
||||||
:E_N__
|
:E_N__
|
||||||
Echo.
|
Echo.
|
||||||
Echo **** New Echo and Netmail entered! ****
|
Echo **** New Echo and Netmail entered! ****
|
||||||
%_NET_ACT%
|
cd . >>%_NET_FLAG%
|
||||||
%_ECHOACT%
|
cd . >>%_ECHO_FLAG%
|
||||||
Goto purge
|
Goto purge
|
||||||
|
|
||||||
:E___L
|
:E___L
|
||||||
Echo.
|
Echo.
|
||||||
Echo **** New Echo and Local mail entered! ****
|
Echo **** New Echo and Local mail entered! ****
|
||||||
%_ECHOACT%
|
cd . >>%_ECHO_FLAG%
|
||||||
%_LOCALACT%
|
cd . >>%_LOCAL_FLAG%
|
||||||
Goto purge
|
Goto purge
|
||||||
|
|
||||||
:E____
|
:E____
|
||||||
Echo.
|
Echo.
|
||||||
Echo **** New Echomail entered! ****
|
Echo **** New Echomail entered! ****
|
||||||
%_ECHOACT%
|
cd . >>%_ECHO_FLAG%
|
||||||
Goto purge
|
Goto purge
|
||||||
|
|
||||||
:__N_L
|
:__N_L
|
||||||
Echo.
|
Echo.
|
||||||
Echo **** New Net and Local mail entered! ****
|
Echo **** New Net and Local mail entered! ****
|
||||||
%_NET_ACT%
|
cd . >>%_NET_FLAG%
|
||||||
%_LOCALACT%
|
%_LOCAL_FLAG%
|
||||||
Goto purge
|
Goto purge
|
||||||
|
|
||||||
:__N__
|
:__N__
|
||||||
Echo.
|
Echo.
|
||||||
Echo **** New Netmail entered! ****
|
Echo **** New Netmail entered! ****
|
||||||
%_NET_ACT%
|
cd . >>%_NET_FLAG%
|
||||||
Goto purge
|
Goto purge
|
||||||
|
|
||||||
:____L
|
:____L
|
||||||
Echo.
|
Echo.
|
||||||
Echo **** New Local mail entered! ****
|
Echo **** New Local mail entered! ****
|
||||||
%_LOCALACT%
|
cd . >>%_LOCAL_FLAG%
|
||||||
Goto purge
|
Goto purge
|
||||||
|
|
||||||
:_____
|
:_____
|
||||||
@ -114,6 +116,6 @@ Echo ru. ᮮ
|
|||||||
CHOICE /c:YN /T:N,05
|
CHOICE /c:YN /T:N,05
|
||||||
IF ERRORLEVEL 2 goto Start
|
IF ERRORLEVEL 2 goto Start
|
||||||
|
|
||||||
IF ERRORLEVEL 1 Goto Del M:\SQUISH\TRASHCAN\*.msg
|
IF ERRORLEVEL 1 Del M:\SQUISH\TRASHCAN\*.msg
|
||||||
|
|
||||||
:End
|
:End
|
||||||
|
Reference in New Issue
Block a user