mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 20:18:22 +00:00
add date and time in dir.
svn path=/trunk/; revision=247
This commit is contained in:
parent
bd305c8221
commit
c3e2bc8f4d
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue