in reply to Re^9: Win32::Process - need help from an expert!
in thread Win32::Process - need help from an expert!

Batch files are in the same boat. They're not executables. You need to launch them via cmd just like you would need perl to execute perl scripts. The documentation for CreateProcess specifically mention batch files.

It's just like unix. To execute a bash script, you need to run bash. The difference is that unix provides an automatic mechanism (#!) to load up a script in the proper handler, whereas one must manually call the mechanism (start) in Windows.