Windows only.use strict; use warnings; my @files = `dir /b`; foreach(@files){ chomp($_); print $_."\n"; }
In reply to Re: How to read files in a directory, directory path to be given through CMD
by bulk88
in thread How to read files in a directory, directory path to be given through CMD
by ckj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |