You can use ls -l if you download the aintx toolset, there's plenty of ports out there for other cool tools like df , grep/awk/sed.
but an immediate answer: dir /TC MK -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sue-fang Hsu Sent: Thursday, June 26, 2003 3:14 PM To: [EMAIL PROTECTED] Subject: Get the file created date on windows2000 server Hi, The perl code is working fine on UNIX server to get the file created date $dir_string = 'ls -l $rootdir/Outages.Log'; $Last_update = substr($dir_string, 41,12); But this code needs to be migrated to be used on windows 2000 server, the" ls -l" only work on UNIX, is there any other command I can use on windows 2000 server to get the file created date? Thanks in advance! Sue _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
