Sometimes you just want to know how a program gets called by another program or by Windows. In that case this little batch file might come in handy:
@echo off rem This batch file shows its full filename and its parameters echo cmd file: %~dpnx0 echo Parameters: for %%I IN (%*) DO ECHO %%I pause
Blatantly copyied from This StackOverflow answer.