Windows Batch File – list all command line arguments

This is apparently very hard to google for… what I want is a simple windows .bat file that will echo back what the command line parameters are. Here it is in all its glory:

@ECHO ON

echo %0 %*

pause;

Also useful:

@ECHO ON

echo %0 %* > launch.txt

notepad.exe launch.txt

pause;
Published
Categorized as Uncategorized Tagged