Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

@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