Problem: Batch file running Perl script to parse and copy SQL log files every five minutes as a Scheduled Task in Windows was creating a DOS window on the console. This made working on the server difficult and dangerous.
Solution: Create another batch file for the Scheduler to run with the commands ‘start /min ‘
The old batch file must have the command ‘exit’ at the end of it for the DOS window to close.