Alessio,
Scripting host should be enabled and some admins disable it on purpose (like me).
Cetin
>thanks, Erick
>Should I load anything to use it in runtime mode ?
>
>>Hi Alessio,
>>
>>>how can I get informations about a file size and the date of creation ?
>>>I want to test if there were any changes in the file...
>>>thank you
>>>Alessio
>>>>
>>You can to use FSO, thus:
>>loFSO = Createobject("Scripting.FileSystemObject")
>>loFile = loFSO.GetFile("yourFile.any")
>>
>>MESSAGEBOX(loFile.DateCreated)
>>MESSAGEBOX(loFile.DateLastAccessed)
>>MESSAGEBOX(loFile.DateLastModified)
>>
>>MESSAGEBOX(TRANSFORM(loFile.Size) + " bytes")
>>
>>MESSAGEBOX(loFile.Type)
>>I hope this helps you.