Yeah - I shook my head on that one too. Thought it might have been a typo since we didn't see the whole script. Your example wasn't wrong, it just would not reliably accomplish the user's intent, with a large amount of potential randomness thrown in. ;\)

ElJeffe - you should also know that you can replace the Chr(13) + Chr(10) in your WriteLine statements with a simple @CRLF macro. In your code, the @CRLF would be required, but for general output, @CRLF can be shortened to a simple "?".

Glenn
_________________________
Actually I am a Rocket Scientist! \:D