Hello, can anyone explain me what these dashes means and do in this line from batch file?
if -%1 == - GOTO error1
:error1
echo please write file name
When I write only batch file name in prompt line (Windows Vista) without any other file and run it, I get the message 'please write file name'.
I would like to know how these dashes work and where can I use it.