in reply to How do I run a .bat file?

Thanks for everyone's help - I did finally get it to work.

The problems turned out to be that I needed backslashes instead of forward slashes, and I needed to fix my bat file to run in a different place on the server (the directory wasn't in the path...)

It turned out that I was doing the perl right, just not everything else.... ;-)

~E

Replies are listed 'Best First'.
Re^2: How do I run a .bat file?
by Anonymous Monk on Jun 15, 2017 at 10:52 UTC
    I'm using the cronW script, and running it on windows sbs 2011 I found out that cmd.exe /c C:\massweb\eeb\cron.bat is the way to get it to execute a batch file.