At 04:02 PM 12/5/2005 -0300, Alejandro Santillan wrote:
>Trying to migrate a perl script from linux to windows (IIS), I need to
>execute a command line from within the perl script.
>This snippet worked fine in linux (provided the path is correct), but it
>didn't work in windows:
That sounds very m
First:
use "\" not "/".
Second:
You have to escape the "\" with a second "\" when using double quotes.
Your line needs to read:
$sys="C:\\antiword\\antiword.exe -t -w 1 document.doc >
C:\\Inetpub\\wwwroot\\somedir\\document.txt";
That shou'd work.
Alternatively, you could do it this way:
$sy