|Hey all, i'm having trouble running the following batch file that's part of the review topic for an exam I have. I don't think the script is written properly, and I keep getting a command syntax error. I've narrowed it down to a problem with the 'for' or 'if' switches, but I'm stuck when it comes to how to fix it.|
for %%a in (%val%) do echo %%a
echo \ o o o o /
echo AHOY THERE!
I believe the end result should be a boat with 'hi' as the flag banner streaming across.
Thank you for your time.