Hello everybody,
I allow myself to open this topic because I do not find how to retrieve system information from a file. I know how to get the path of it. I know how to get his extension. But I would like if possible to get the information - system of it. Namely that size - that creation date - that modification date - that last access date - and the owner of this file.
I looked at the .net documentation.
I found this:
Maybe I do not understand how to transcribe the lines of code in UIPATH directly.
I tried this:
I assign a variable ālistFilesā = System.IO.Directory.GetFiles (āreportsā)
listFiles ā String
Itās good.
infoMe = new fileinfo(item.ToString)
My Wrile line is good ā infoMe.ToString
But if I try this it does not work:
assign ā fileMe = System.IO.FileSystemInfo(item.ToString)
fileMe ā Type = FileSystemInfo
It does not work
Maybe I do not understand what Iām doing.
Thank you for help.
If Iām not very clear thank you for telling me.
I come from the PHP world and Iām not yet developed with .net and Vba
Bye