The one sigle item in your script that might slow it down would be an issue with the USE statement. If you for example connect to a share that is unavailable, then you would incur a 30 second penalty while waiting for USE to time out.

However, you should inplement Howard's logging functions in oder to create a time trace of your script and see which functions take the longest.
_________________________
There are two types of vessels, submarines and targets.