You could just have the script execute itself again with an extra argument if it wasn't run with that argument in the first place (thereby preventing an endless loop). This will allow you to keep it all in one script for ease of maintenance.
- - Arden.
Comment on Re: Re: Re: Refreshing the Windows Registry