File or folder properties

jenCarlos 141 Reputation points
2022-03-27T02:42:37.573+00:00

Hello...
Is there a way to get its properties of a folder or file, using IShellFolder or IShellFolder2, like name, date modified, type, size?
Similar to Windows 7 Explorer.
I hope you can help me with an example.
Thanks.

Developer technologies | VB
0 comments No comments
{count} votes

Answer accepted by question author
  1. Castorix31 91,501 Reputation points
    2022-03-27T06:30:03.597+00:00

    Most of infos can be got with FileInfo Class
    For directory size, you can see this thread for different methods :
    Fastest way to get size of a directory including all files and sub folders

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.