How To Run A Batch File From A Perl Script

IT Support Forum Forums Windows Windows Server 2012 Applications How To Run A Batch File From A Perl Script

Tagged: ,

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 10 months, 3 weeks ago.

  • Author
    Posts
  • #1622

    Webmaster
    Keymaster

    Want to run a batch file from a perl script? Here’s how to run a batch file from a perl script:

    system("start C:\\Temp\\BatchFile.bat");   # Run the batch file
    sleep 15;  # Wait 15 seconds while the batch file runs before continuing
    

You must be logged in to reply to this topic.