Code: Select all
Filename,Size,Date Modified,Date Created,Attributes
"C:\New text document",1234,123456789012345678,123456789012345678,8208
.
.
.
All other column headers can be omitted.
Filename
Filename should be the full path and filename in double quotes.
The filename can be any length and can contain any characters.
To escape a double quote use a triple double quote: """
Filenames can be relative to the file list by prefixing a ... or .. or . etc,
or by excluding a root path.
For example:
Code: Select all
"..\somefile.txt"
"subfolder\somefile2.txt"
Code: Select all
\folder\file.txt
Code: Select all
C:\folder\file.txt
Code: Select all
\\server\share\folder\file.txt
Code: Select all
http://www.voidtools.com
Size is in bytes.
Date Modified / Date Created
Date modified and date created is in the FILETIME format.
That is the number of 100-nanosecond intervals since January 1, 1601 (UTC).
Attributes
Attributes can be any of the following:
Code: Select all
FILE_ATTRIBUTE_READONLY 0x00000001
FILE_ATTRIBUTE_HIDDEN 0x00000002
FILE_ATTRIBUTE_SYSTEM 0x00000004
FILE_ATTRIBUTE_DIRECTORY 0x00000010
FILE_ATTRIBUTE_ARCHIVE 0x00000020
FILE_ATTRIBUTE_DEVICE 0x00000040
FILE_ATTRIBUTE_NORMAL 0x00000080
FILE_ATTRIBUTE_TEMPORARY 0x00000100
FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
FILE_ATTRIBUTE_REPARSE_POINT 0x00000400
FILE_ATTRIBUTE_COMPRESSED 0x00000800
FILE_ATTRIBUTE_OFFLINE 0x00001000
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED 0x00002000
FILE_ATTRIBUTE_ENCRYPTED 0x00004000