Thanks for your help. I tried that, but I am getting an error.
This is my program:

#include <stdio.h>


void main()
{
        /*system("perl C:\path\to\script"); */
        system("perl C:\\Documents and
Settings\\Done\\Desktop\\ActivePerl-5.6.1.638-MSWin32-x86\\ActivePerl\\Perl\\bin\\helloworld.pl");

        return;
}

This is the error:
Can't open perl script "C:\Documents": No such file or directory
Press any key to continue

Any suggestions?

Reply via email to