my $cmd = "dir /b $dir\\*.bat"; print "cmd = $cmd\n"; my $ret = `$cmd`;
Here is the error message:
cmd = dir /b C:\Dir\To\Scan\*.bat dir: /b: No such file or directory dir: C:DirToScan*.bat: No such file or directory
What am I doing wrong here?
Note: I already tried this... my $cmd = "dir \/b $dir\\*.bat";
In reply to short dir listing by P0w3rK!d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |