FAQ & Knowledge Base

Herzlich Willkommen in unserer Wissensdatenbank. Nutzen Sie die Suchfunktion oder durchstöbern Sie unsere Kategorien, um Antworten auf Ihre Fragen zu erhalten.

Kategorien: TreeSize | Alle Kategorien anzeigen

Die folgenden Inhalte sind leider nicht auf Deutsch verfügbar.

Scheduled reports with date in filename

Frage / Problem

I want to run a scheduled task every week without the need to rename the file before it gets overwritten. Is there a method to name the file in a date format?

Antwort / Lösung

You can do this with the command line switch "/DATE"

This switch will add the current date to all file names occurring after it on the command line. This is useful if you want to do scans regularly every night or every weekend. If you want the date included in all filenames, then /DATE should be your first command line option. The following example will scan the network path \host\share and save the result to a file like C:\scans\name_03-12-20_1550.xls:

Treesize.exe /DATE /EXCEL "C:\scans\name.xls" "\\host\share"