Command-line options

Top  Previous  Next

Command-line options

 

 You can use STG FolderPrint Plus from the command-line:

 

 fpp.exe [Folder name] <parameters>

 

 All parameters are optional. The current parameters are:

 

-filename=name  Include only files that match these names. To use more than name, use a semicolon (;). e.g.: -include=project;accounts

-include=name  Include files that match these names. To use more than name, use a semicolon (;). e.g.: -include=*.mp3;*.wma

-exclude=name Exclude files that match these names. To use more than name, use a semicolon (;). e.g.: -exclude=*.mp3;*.wma

-depth=number Scan folder depth. 0-10 for a numeric depth, 99 for unlimited.

-filtersize=minsize-maxsize Filter Size. Numbers are in KB, and using both are optional. e.g.: -filtersize=200 accepts only files bigger than 200KB, -filtersize=-1000 acceps files only smaller than a 1000KB, and -filtersize=200-1000 accepts only files between 200KB and 1000KB.

-filterdate=mindate-maxdate[TYPE='MLC'] Filter between MinDate and MaxDate, using Type date. Dates should be in ISO format, numbers only: e.g.: 01/May/2004 would be 20040501. Either date is optional. Removing the first searches for files before MaxDate, and Removing the last searches for files after MinDate. Type should be M, L, or C (Modified, Last Access or Created). . Type is optional and defaults to M.

e.g.: -filterdate=20040401-20040501C shows only files created between 01/Apr/2004 and 01/May/2004.

-filterlastdays=days[TYPE='MLC'] Filter files modified, created or accessed in the last days.Type should be M, L, or C (Modified, Last Access or Created). Type is optional and defaults to M.

-onlyfolders Scan in Only Folders mode.

-onlyfiles Scan in Only Files mode.

-expand Expand folders after scanning

- compoundextensions=[*.doc;*.xls] List of extensions to consider compound files, split by semicolon (;).

-exporttype=[csv, txt, html, xls, txtdir] Export format. Used with the export parameter. Defaults to html. e.g.: -exporttype=xls

-export=[filename] Export to filename and close. e.g.: -export=c:\files.xls

-print Print to last set printer and close.

-save=filename Save to filename and close. e.g.: -save=c:\scan.stgtree

-loadlayout=layout Loads a column layout previously saved inside the program.

-resetlayout Resets the column layout to the program's default.

 

 

Toggles: these toggle options and can be used with + or - following the option (e.g.: -mp3+) to turn it on or off. Options are turned on by default.

 

-compressed  Scan compressed files.

-mp3 Add MP3 information.

-addurl Add URL to .URL files.

-owner Read file Owner Information.

-verinfo Read Version Info Information.

-description Read description from descript.ion file.

-pdfinfo Read PDF Extra Information

-compoundinfo Read Extra Compound File Information

-relative Sets Show Relative Dirs on or off

 

Note: If you have spaces inside your parameters, put the whole parameter in a double-quote. e.g.: "-export=c:\export test.html"