A previous post might be useful: [Perl system() call failed with return code 65280](https://stackoverflow.com/questions/11989196/perl-system-call-failed-with-return-code-65280/11995663#11995663)

Again, I've used this code many times, but it doesn't work here. I've moved all other perl instances from PATH.

Source:

```
$targetDir = "M\:\\bldforge_AOMS_DEV";
print ("targetDir=$targetDir\n");

chdir($targetDir) or die "Cant chdir to $dir $!";
$current_dir = `cd`;
print "\nCurrent dir = $current_dir\n" 

```

Output:

```
Z:\>ccperl test.pl
targetDir=M:\bldforge_AOMS_DEV

Current dir =

```