I've got a cgi script that I need to have call a cmd script in Windows XP. I've tried using the system function but it doesn't seem to be working correctly as the cmd file doesn't produce the output I expect.
Here is the code
my $builddir = "\\\\buildserver1\\c\$\\ScheduledBuilds\\Acme";
system "$builddir\\test.cmd";
The test.cmd file is supposed to produce an output text file but it only does so if I run it from a command line in Windows and not from my CGI script. Anyone have any thoughts as to why this doesn't work? Thanks