Hi,
Please can someone help?
I'm trying to alter the flow of one of my scripts so that it skips part of the script and goes onto the next bit of the script. I.e.:
--------------------------------------------------------
---------------------------------------------------
I've tried using goto but this doesn't seem to work?
Any ideas how I do this are greatly appreciated ...
Kind Regards,
Greg
Please can someone help?
I'm trying to alter the flow of one of my scripts so that it skips part of the script and goes onto the next bit of the script. I.e.:
--------------------------------------------------------
Code:
if something = false
goto Connect
else
wscript.echo "connected ..."
wscript.exit
endif
:Connect
wscript.echo "not connected ..."
I've tried using goto but this doesn't seem to work?
Any ideas how I do this are greatly appreciated ...
Kind Regards,
Greg