1.

Solve : A "dir" command that can display file cr?

Answer»

I need to display file create time INCLUDING MILLISECONDS. Is there ANYWAY to do this in DOS or Windows?Probably not. dir /tc will get it accurate to the minute. This little snippet will get you down to SECONDS:

Code: [Select]
Set fso = CreateObject("Scripting.FileSystemObject")
set f = fso.getFolder("Folderspec")
set fc = f.files

For Each fs in fc
Wscript.Echo fs.Name & " " & fs.DateCreated
Next


Fill in FolderSpec with something VALID. Save as a VBS File and run as cscript ScriptName.vbs

As far as milliseconds go you're on your own.

Happy Computing.



Discussion

No Comment Found