This work fine, but if I change pagefile.txt to pagefile.sys which is hidden and system fileCode:-- read attribute from dummy file attrib = File.GetAttributes(_SourceDrive.."\\pagefile.txt"); -- read and create ISO format of AccessDate strAccessDate = attrib.AccessDateISO; -- display AccessDate in format 2007-09-14T11:34:54 Dialog.Message("", strAccessDate);
I get error mesage:
For some reason it cant read attributes from hidden files!Code:Error On Next, Line 9: attempt to index global `attrib'(a nil vaule)
Any Hint?![]()


