I don't think that's what Willyboy wants. I suspect he's looking for a way to make his code add itself to the startup folder the first time it's run. Then it would automatically run every time the computer is re-booted. Unfortunately, this is borderline virus-like behavior which is probably why no one here is responding.