Firstly, a folder is created in the temp directory, and the properties of the folder are opened using SHObjectProperties. To…