Hello,
I am curious about what the variables %1-%9 mean/do in a batch file. I understand that %0 is the name of the file, but that's about it.
Thanks for any help!
Help Explaining %1, %2, etc.
Moderator: DosItHelp
Re: Help Explaining %1, %2, etc.
'
Code: Select all
@echo off
call :help me please ^!
pause
exit /b 0
:help ()
::(
echo.%*
echo.%0 %1 %2 %3
echo.
call /? |more
::)
exit /b 0
-
- Posts: 82
- Joined: 24 Apr 2011 19:20
Re: Help Explaining %1, %2, etc.
Thank you! I was not aware that the CALL command's help menu had this information.