I'm having some difficulty with the use of system calls.

I cannot get any system calls to work on any other machine besides my development workstation.

All the machines that I have tried this on are running windows XP.

I thought it was a cygwin dll dependency but I literally copied the entire contents of the cygwing\bin directory into the into the directory with this program and nothing...



Code:
int main(int argc, char** argv) 
{
    
    int error;

    error =  system( "notepad.exe" );

    printf( "ERROR: %d \n", error);

    
    return (EXIT_SUCCESS);

}

This program shows the system call having an error 127 every time on any other system but mine.

Any Ideas?