There is something -at first sight very basic- I would like to do: when I start a vbs script, I want to display a warning if this same vbs is already running (to avoid file in use problems etc).
Two options I see:
work with a temporary file created at the start of the vbs and removed at the...
This guy who entered the question being a rookie, he/me was kind of knocked down by the first reply (thank you anyway for it). It sounds so simple - but I just don't experience it that way.
Like richard i have to trap as much as possible errors -even those I don't expect - and do some error...
As a relative novice in Vbscript I am rather surprised on the number of scripts one crosses in which "on error resume next" and "option explicit" are combined at the start of the script.
The first statement indeed hides the errors caused by using non-declared variables.
One can of course play...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.