The following function can be added to your Test.user.js file to add support for reading the meta-data for specific files in Windows Explorer. The example below shows the Path, Creation Date, Last Accessed Date and Last Modified Date.
function ShowFileAccessInfo(filespec)
{
var fso, f, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.GetFile(filespec);
s = f.Path.toUpperCase() + "<br>";
s += "Created: " + f.DateCreated + "<br>";
s += "Last Accessed: " + f.DateLastAccessed + "<br>";
s += "Last Modified: " + f.DateLastModified
return(s);
}
The filespec parameter is the path (absolute or relative) to a specific file.
Further Reading
To see what other attributes are available, please refer to the following article
https://msdn.microsoft.com/en-us/library/sheydkke%28v=vs.84%29.aspx