SyntaxFix
Write A Post
Hire A Developer
Questions
Try:
if not "asdf" == "fdas" echo asdf
That works for me on Windows XP (I get the same error as you for the code you posted).