@FilesOnDisk
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

@FilesOnDisk

  • Dark
    Light
  • PDF

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

@FilesOnDisk

Returns a list of files matching the mask on the current server.

Script usage:

@FilesOnDisk(includes, [excludes], [directory])

Parameters:

NameDescription
includesIncludes
excludesExcludes
directoryIn Directory

Example:

set @ProjectFiles = @FilesOnDisk(*.csproj); # gets project files in working directory

set @NonXDarFiles = @FilesOnDisk(**, **.xdr, $TmpPath); # gets all files except those with an .xdr extension

Was this article helpful?

What's Next