|
Answer» Hi!
I have a file that stores a document name in %1. How do I compare what is stored in %1 to a specific document name?
I WANT to CHECK if the document name stored in %1 is "document name NR 1", and if it is I will do ONE thing, but if it's not I will do something else.
Sorry, but I'm not good at this at all.
Thanks, KarenUse IF with quotes and double equals signs, and goto a label.
Quote IF "%1"=="document name nr 1" goto same
goto notsame
:same
...commands to execute if %1 is document name nr 1
goto next
:notsame
...commands to execute if %1 is NOT document name nr 1
:next
Thank you! I will try that right away.
/Karen
|