@echo off&set FileName=%~n0&shift :: ============================================= :: AutoHelp PlugLab Concept: 2006 by Reatogo :: ============================================= :: Help Info: :: ======================= set Routine_Type=4 :: 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=Add2Inf set RoutineAuthor=Siegfried set Using_work_from= set Example_call_1=%%Add2Inf%% set Example_call_2=%%Add2Inf%% "MyFile.dat" set Example_call_3= set text_01=Adds the content of a file located in "SCRIPTS\DATs" to the pluginīs INF. set text_02=. set text_03=If parameter 1 is empty, "SCRIPTS\DATs\StaticINF.dat" is used if exist. if "%~1" == "GetHelp" goto :EOF echo.&echo %* :: ============================================= set FileToAdd=%~1 if "%~1" == "" ( if not exist "%DATs%\StaticINF.dat" goto :EOF set FileToAdd=StaticINF.dat ) type "%DATs%\%FileToAdd%" %OUT% goto :EOF :: =============================================