This simple script exports all system information of each file/folder available at the specified path, to a CSV file with the following columns: attributes
, creation time
, last write time
, last access time
, file size
and full path
.
- Unpack the downloaded archive
- Open start.bat in a text editor and paste the path of required directory as a DIRINPUT parameter
- Save start.bat and run it. The result CSV file will be saved in the directory \results
- The start.bat file can also be started without editing, by specifying the required path as an argument. For example:
start.bat 'c:\Program Files\'
- Microsoft Windows 10 Pro x64 17134
- Powershell ISE 5.1 x86
attributes contents csv datetime directory files folder size system