The difficult problems, how CGI call path with a space of exe program (Perl)

open(OUT, "| \"C:\Documents and Settings\sendmail.exe\" -t")
This code is run without problems under the Apache (path if you <C:\Documents and Settings>), to execute the EXE file
But under the IIS cannot run, consult a master is how to return a responsibility, how to solve

Started by Cinderella at November 17, 2016 - 1:41 PM

To change the'\'as' \ \', as follows:

\"C:\\Documents and Settings\\sendmail.exe\" -t")

Good Luck!

Posted by Jimmy at November 18, 2016 - 2:33 PM

Have a look whether spaces turn character

Posted by Glen at November 30, 2016 - 3:00 PM

'\' To the '\ \' try, no

Posted by Cinderella at December 08, 2016 - 3:16 PM

It doesn't seem so simple, ha ha.

Posted by Jessie at December 19, 2016 - 3:22 PM

IIS is rubbish, do not use
Or you put the path change, program to another path down to

Posted by Marico at December 29, 2016 - 3:54 PM

The first!

Posted by Hiram at January 06, 2017 - 4:15 PM