add date and time in dir.

svn path=/trunk/; revision=247
This commit is contained in:
jean 1999-02-16 12:48:15 +00:00
parent bd305c8221
commit c3e2bc8f4d

View file

@ -46,10 +46,10 @@ void ExecuteDir(char* cmdline)
debug_printf("<REP> "),nRep++;
else
debug_printf(" %10d ",FindData.nFileSizeLow),nFile++;
// RtlTimeToTimeFields(&FindData.ftLastWriteTime ,&fTime);
// debug_printf("%02d/%02d/%04d %02d:%02d:%02d "
// ,fTime.Month,fTime.Day,fTime.Year
// ,fTime.Hour,fTime.Minute,fTime.Second);
RtlTimeToTimeFields(&FindData.ftLastWriteTime ,&fTime);
debug_printf("%02d/%02d/%04d %02d:%02d:%02d "
,fTime.Month,fTime.Day,fTime.Year
,fTime.Hour,fTime.Minute,fTime.Second);
debug_printf("%s\n",FindData.cFileName);
} while(FindNextFile(shandle,&FindData));
debug_printf("\n %d files\n %d directories\n\n",nFile,nRep);