in reply to How do I run a .bat file?
system ("d:\\webmaster\\cgi-bin\\comb.bat");
Otherwise perl sees "\cg" and "\co" from "\cgi-bin\comb.bat" and interprets them as control characters. That'll give you get a "file not found" error instead of running the batch file like you expect. Hope this helps!
|
|---|