Re: windows XP copyfile

2008-08-08 Thread John M. Dlugosz
Seek the wisdom of the Perl Monks at www.perlmonks.org. Short answer: http://perldoc.perl.org/functions/-X.html -M gives the file age. --John Tara taralish-at-yahoo.com |Perl 6| wrote: I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file which will open the CMD prompt,

Re: windows XP copyfile

2008-08-08 Thread Will Coleda
On Thu, Aug 7, 2008 at 9:38 AM, Tara [EMAIL PROTECTED] wrote: I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file which will open the CMD prompt, interact with the user and copy files from one location to other directories. Does anyone know how to dir the files in a

windows XP copyfile

2008-08-07 Thread Tara
I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file which will open the CMD prompt, interact with the user and copy files from one location to other directories. Does anyone know how to dir the files in a directory into an array and sort by date and return the ones within the