Thanks chaps,stevo_ said:Well, your task is more than you want to user to setup these variables is it not.. so what you are really asking is...
If these variables haven't been setup, then prompt the user for them.. I don't think this is so much associated with the first run (although this is the most common scenario of course).
It would also be a lot easier to do.
I've been working on this for a few hours now, and I think I have it sorted out....
Thanks once again...will post solution if needs be....