@echo off&set FileName=%~n0&shift :: ============================================= :: AutoHelp PlugLab Concept: 2006 by Reatogo :: ============================================= :: Help Info: :: ======================= set Routine_Type=1 :: 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=IniSet set RoutineAuthor=Siegfried set Using_work_from= set Example_call_1=%%IniSet%% "%%PEroot%%\input.inf" "input" "langfile" "%%LANG%%.lng" set Example_call_2=%%IniSet%% "Example.inf" "Section" "Key" "My_Test_Value" "quote" set Example_call_3= set text_01=Writes to text files with INI structure. set text_02=. set text_03=Param. 1 = Path to INI file. May be any textfile with INI structure. set text_04=Param. 2 = Section set text_05=Param. 3 = Key set text_06=Param. 4 = Value set text_07=. set text_08=Param. 5 = Leave Param. 5 empty to write the value unquoted. set text_09=If parameter 5 is "quote", the value will be written with quotation marks like Key="My_Test_Value" if "%~1" == "GetHelp" goto :EOF if "%~6" == "" echo.&echo %* :: ============================================= "%APPs%\xFUNCs.exe" "INISET" "%~1" "%~2" "%~3" "%~4" "%~5" goto :EOF