Wire,
Not sure if this is the best suggestion but something I have used in the past is to build a batch file from your command lines and then run the batch file.
1. So you need something to build the commands, which you look like you already have.
2. You also need to create a textfile, the FileSystemObject will help you with this... as will I, if you have no experience of this.
3. then you need to save the textfile and then Execute it, which is fairly similar to your current routine, ie: Call Shell().
Of course, there may be a more suitable process which will allow individual lines to be sent to the same instance of the command prompt.
If you need help with the fso, just shout.
Lee
|