@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=FileVersion set RoutineAuthor=Siegfried set Using_work_from= set Example_call_1=%%FileVersion%% "%SystemRoot%\System32\Reg.exe" set Example_call_2= set Example_call_3= set text_01=Returns %%result%% with the version information, eg "3.0.81.0". set text_02="0.0.0.0" if no version information was found. if "%~1" == "GetHelp" goto :EOF echo.&echo %* :: ============================================= "%APPs%\xFUNCs.exe" "FILEVERSION" "%~1" if exist "%temp%\TempLab.cmd" ( call "%temp%\TempLab.cmd" del "%temp%\TempLab.cmd" ) echo RESULT is "%result%" goto :EOF