mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +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++;
|
debug_printf("<REP> "),nRep++;
|
||||||
else
|
else
|
||||||
debug_printf(" %10d ",FindData.nFileSizeLow),nFile++;
|
debug_printf(" %10d ",FindData.nFileSizeLow),nFile++;
|
||||||
// RtlTimeToTimeFields(&FindData.ftLastWriteTime ,&fTime);
|
RtlTimeToTimeFields(&FindData.ftLastWriteTime ,&fTime);
|
||||||
// debug_printf("%02d/%02d/%04d %02d:%02d:%02d "
|
debug_printf("%02d/%02d/%04d %02d:%02d:%02d "
|
||||||
// ,fTime.Month,fTime.Day,fTime.Year
|
,fTime.Month,fTime.Day,fTime.Year
|
||||||
// ,fTime.Hour,fTime.Minute,fTime.Second);
|
,fTime.Hour,fTime.Minute,fTime.Second);
|
||||||
debug_printf("%s\n",FindData.cFileName);
|
debug_printf("%s\n",FindData.cFileName);
|
||||||
} while(FindNextFile(shandle,&FindData));
|
} while(FindNextFile(shandle,&FindData));
|
||||||
debug_printf("\n %d files\n %d directories\n\n",nFile,nRep);
|
debug_printf("\n %d files\n %d directories\n\n",nFile,nRep);
|
||||||
|
|
Loading…
Reference in a new issue