I am trying to run an external command on Windows using the backtick operator. The OS has 8.3 naming convention enabled and the to the external command has some special characters in it.
The problem is that when I send the command without any arguments, it fails with the error "The system cannot find the path specified.". But when I provide an argument, it succeeds.
Am I missing something here?
e.g.
$path = "\"" . Win32::GetShortPathName($home) . "\"\\$cmd";
my $op = `$path`; <== Fails
my $op = `$path -v`; <== succeeds.