I'm trying to use the following in a "Run before Launching" (Launch Script):
set WebLocal ="%DEPT%"
set TestVar="%ORG%"
IF %TestVar%= "CF " THEN set WebLocal="%SCHOOL%"
END
The problem is that the "if" statement is being ignored.
If the program I am running is test.bat %TestVar% then my output is "CF"
Therefore TestVar does = "CF" and WebLocal should = SCHOOL and not DEPT.
Anybody any ideas?
Thanks,
Chris
Marcel
tott...@cf.ac.uk (Chris Tottle) wrote in message news:<2d022f96.03022...@posting.google.com>...