@echo off&set FileName=%~n0&shift :: ============================================= :: AutoHelp PlugLab Concept: 2006 by Reatogo :: ============================================= :: Help Info: :: ======================= set Routine_Type=2 :: 1=Getting Data 2=Prompts 3=Getting Files 4=Creating Files 5=General set Routine_Vers=1 set Routine_Date=2007-02-15 set RoutineName=AbortConfig set RoutineAuthor=Siegfried set Using_work_from= set Example_call_1=%%AbortConfig%% set Example_call_2=%%AbortConfig%% "No internet connection." set Example_call_3= set text_01=Aborts the configuration: set text_02=. set text_03=- Userprompt about an ERROR set text_04=- Calls RESET.cmd to reset the plugin set text_05=- exit set text_06=. set text_07=Parameter 1 is an optional message with details about the error. set text_08=. set text_09=Typical example usage after InetCheck: set text_10=%%InetCheck%% set text_11=if "%%result%%" == "no" %%AbortConfig%% "No internet connection." if "%~1" == "GetHelp" goto :EOF echo.&echo %* :: ============================================= %MessageBox% "stop" "ERROR" "ERROR ~~%~1 ~~Configuration aborted. Try again once the problem is solved." if exist RESET.cmd call RESET.cmd exit goto :EOF :: =============================================