Configuration Parameters
These command line parameters modify session behavior, apply filters, and control auxiliary output.
LoadOptions
Used to load program options prior to executing any remaining command line instructions. You must specify the full path to a program options data file previously saved with FolderSizes.
foldersizes.exe /path:"d:\" /export:"d:\report.html" /loadoptions:"c:\temp\myoptions.dat"
ScanFilter
Specifies the full path of a scan filter to apply to the current session. Note that passing this command line parameter in enables scan filtering for both normal scans (which are viewed in the main window) and file reports. The scan filter will be applied for the duration of the FolderSizes process lifecycle (e.g. until the window is closed, either via /exit or some other means).
foldersizes.exe /path:"d:" /filereport:"largest" /scanfilter:"d:\scan-filter.xml" /exit
Note: You need to already have a scan filter defined and saved to a file before you can use the "/scanfilter" command line parameter. To learn more about managing scan filters, see this topic.
SaveEventLog
Dumps the contents of the active event log to file. Note that if this parameter is combined with the /date switch, the resulting event log will be appended with a date/time stamp as well.
foldersizes.exe /path:"d:" /saveeventlog:"d:\temp\eventlog.txt"
NoXSLT
This option applies to XML exports only, and suppresses the linkage of the FolderSizes XSLT file regardless of whatever export program option is currently specified. This command line parameter takes no arguments.
foldersizes.exe /path:"d:\temp" /export:"d:\myreport.xml" /noxslt
TrackChildFiles
This option causes file-level data to be tracked in memory during the file system analysis process. Optionally overrides the default value set in Advanced options.
foldersizes.exe /path:"d:\temp" /export:"d:\myreport.xml" /trackchildfiles:"true"