Ce n' %~1 faire dans ce fichier batch?

J'ai trouvé ce code, mais il y a des parties que je ne comprends pas.

C'est mon code:

Principal.chauve-souris:

@echo off
set "CallCount=0"
set "Mood="
set /P "Mood=Your mood is: "
call Receive.bat "%Mood%"
rem *Random stuff*
set "Food="
set /P "Food=The food you want is: "
call Receive.bat "%Food%"
set "CallCount="

Recevoir.chauve-souris:

@echo off  
set /A CallCount+=1           
if "CallCount"=="2" goto Call2   
if not "%~1"=="" echo %1     <----
*Random Stuff*                   |
goto :EOF                        |---What is %~1 doing in this area?
:Call2                           |
if not "%~1"=="" echo %1     <----
rem Commands for second call.

Edit: C'est un fichier qui utilise la commande call deux fois.

InformationsquelleAutor Kit | 2015-02-19