By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!alias test=`@echo %@full[%@if[%# eq 0,%_cwd,%1]]`
The same is true of any function. All the arguments inside the square brackets will be expanded, before the function itself is evaluated. @IF is no different; the parser doesn't handle it differently.
You should use an IFF statement.
Code:IFF %everything.==okay. Then Echo Perfect Else FixDisaster Endiff