I hope you meant chdir("C:\\Go\\Here\\")...
but if you're going to do use absolute paths anyway, why not just system("perl \"c:\\go\\here\\somescript.pl\"")... ? -----Original Message----- From: DiGregorio, Dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 10:30 AM To: beginners@perl.org Subject: Directory issue <snip> So the problem I believe is caused by the CWD of the commanding script. To get around this I tried: chdir("C:\Go\Here\") || die "cant not change dir\n" ; system("perl someScript.pl -a createOperator -p f112a") || die "$_"; <snip> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>