The application I am writing involves creating a dos batch file and executing it using the 'Shell' command.
The batch file is used to zip up multiple files.
The zip file that is created is them emailed.
:?: My problem is - creating a pause within the application so the zip file can be created. I have tried a simple pause (for t=1 to 100000: next t). I know this isnt the best way to do it.
:!: The zip file could take between 0.5 to 30 seconds to create.
Any help would be great.