Home Search

DriveWorks Pro 22
SppFileInfo

Send Feedback

SppFileInfo

Returns an array of information about a file. The Array contains these headers:

  • CreationTime
  • CreationTimeUtc
  • DirectoryName
  • Exists
  • Extension
  • FullName
  • IsReadOnly
  • LastAccessTime
  • LastAccessTimeUtc
  • LastWriteTime
  • Length (bytes)

Syntax

SppFileInfo([File])

Where:

File is the file to retrieve information about.

Example

RuleResultMeaning
SppFileInfo("D:\DriveWorks\MyFile.txt"){"CreationTime","CreationTimeUtc","DirectoryName","Exists","Extension", "FullName","IsReadOnly","LastAccessTime","LastAccessTimeUtc","LastWriteTime", "LastWriteTimeUtc","Length (bytes)","Name";"04/05/2017 11:05:23","04/05/2017 10:05:23","D:\DriveWorks",True,".txt", "D:\DriveWorks\MyFile.txt",False,"04/05/2017 11:07:13","04/05/2017 10:07:13","04/05/2017 11:07:13","04/05/2017 10:07:13",868,"MyFile.txt"}This is the Array that will be created with information about the file.