0 Members and 1 Guest are viewing this topic.
function ShowFileInfo(filespec){ var fso, f, s; fso = new ActiveXObject("Scripting.FileSystemObject"); f = fso.GetFile(filespec); s = "Created: " + f.DateCreated; return(s);}
Function ShowFileInfo(filespec) Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFile(filespec) ShowFileInfo = "Created: " & f.DateCreatedEnd Function
FUNCTION ShowFileInfo (BYVAL filespec AS STRING) AS STRING LOCAL fso AS IFileSystem LOCAL f AS IFile fso = NEWCOM "Scripting.FileSystemObject") f = fso.GetFile(UCODE$(filespec)) FUNCTION = "Created: " & PB_VariantDateToString(f.DateCreated)END FUNCTION