@echo off&set FileName=%~n0&shift :: ============================================= :: AutoHelp PlugLab Concept: 2006 by Reatogo :: ============================================= :: Help Info: :: ======================= set Routine_Type=5 :: 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=CloseWindow set RoutineAuthor=Siegfried set Using_work_from= set Example_call_1=%%CLOSEWINDOW%% "PlugLab Help" set Example_call_2= set Example_call_3= set text_01=This function sends a close message to a window. set text_02=If multiple windows match the criteria, set text_03=the window that was most recently active is closed. if "%~1" == "GetHelp" goto :EOF echo.&echo %* :: ============================================= echo. "%APPs%\xFUNCs.exe" "CLOSEWINDOW" "%~1" goto :EOF