arthrex
asked on
VBScript: Restart a script automatically
My VBScript should run constantly on a server (Picking and mailing files).
So my question is:
What do I have to write at the end of my script, so that it will restart itself?
Thank you very much!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Because a constant can't be changed...and if the declaration is inside the loop it's like your trying to set the constant to a different value when the line is hit again.
ASKER
thank you very much!
ASKER
That's great thank you very much!!
One last question. Why do I have to declare a constant outside the While-Loop?
(if I do so in the loop, it's throwing the error: Name already declared)
But I'm able to declare variables inside the loop?!