Report Parameters

These command line parameters control how FolderSizes generates and formats reports. They are used in combination with the core /path and /export parameters.

FileReport

Triggers generation of one or more of the following types of File Reports. Pass one of the following keywords to the "filereport" parameter to produce the desired report.

Use this keywordTo produce this file report
[all]All file reports (supported formats only*)
largestLargest files
oldestOldest files
newestNewest files
temporaryTemp files
duplicateDuplicate files
typesFile types
typesgraphFile types graph
categoriesFile categories
categoriesgraphFile categories graph
attribsFile attributes
attribsgraphFile attributes graph
ownersFile owners
ownersgraphFile owners graph
sizesFile sizes
sizesgraphFile sizes graph
namesFile names
namesgraphFile names graph
agesFile ages
agesgraphFile ages graph
depthsFile depths
depthsgraphFile depths graph
foldersizes.exe /path:"d:\temp" /filereport:"largest" /export:"d:\largest_files.html"

Note: It is possible to generate and export multiple File Reports at once from the command line. See the Advanced Uses topic for additional details.

* When using the "[all]" keyword to export all enabled file reports to a single file, you must specify either an HTML (.html) or MS Excel (.xls) file extension in the "export" command line parameter.

Sort

Specifies how a detail view report is to be sorted. The sort phrase is a combination of the column header to be sorted, followed by "ASC" (for ascending sort) or "DESC" (for descending sort).

foldersizes.exe /path:"d:\temp" /sort:"size DESC" /export:"d:\tmp\myreport.html" /exit

Sorting is supported in any FolderSizes detail view report (e.g. main window reports, search results, file report list views, etc.). When specifying the sort column, refer to the column header itself and use the full text associated with that column header (including any spaces). For information on sorting multiple file report outputs separately, see the Advanced Uses topic.

VisCols

When exporting data from a detail report view, you can use this parameter to indicate which columns you want exported.

foldersizes.exe /path:"d:\temp" /export:"d:\Report.csv" /viscols:"Name,Size,Allocated,Files" /date /exit

Graphtype

Used for switching between the "bar", "pie", "map", and "sunburst" graph types available for inclusion within reports exported in HTML format (does not apply to other export file formats such as CSV, TXT, or XML). For example, if you wanted to export an HTML report via the command line, but prefer to have a pie chart (versus the default bar chart), you can do something like the following:

foldersizes.exe /path:"d:\" /export:"d:\report.html" /graphtype:"pie"

SubDisplayDepth

Sets the subfolder display depth prior to the command line job being executed. Does not apply to File Reports (applies only to normal explorations that appear in the main application window).

foldersizes.exe /path:"d:" /subdisplaydepth:"3" /exit

ViewRoot

Causes FolderSizes to set the specified path as the current view root. This is mainly useful in cases where you're generating a report from a snapshot (.fssx) file via the scheduler or command line interface. When exporting to "flat" file formats such as HTML, PDF, or Excel, setting the view root allows you to target a specific subfolder.

foldersizes.exe /path:"d:\c-drive-snapshot.fssx" /export:"d:\largest_files.html" /viewroot:"c:\windows" /exit

SAFE. TRUSTED. GUARANTEED.

  • 100% malware free
  • 100% spyware free
  • 100% adware free
  • 100% quality software