system ( "start Example.bat 30" ); # 30 is the time in seconds to sleep print "Finished";