system("c:\path\to\test.bat"); open(OUTPUT, "; close(OUTPUT);