WinCatalog 2019 Online User Manual Home | Download | Buy Now | Technical Support  
×
Menu
Index

Log File

WinCatalog does not display command line error messages (error example: "catalog path not found"). However, error messages can be saved into a log file using the -LogFile (-log). The parameter of the command is the full path to the log file: 
 
-LogFile "full path to the log file"
 
-log "full path to the log file"
 
The -LogFile (-log) command can be combined with the -LogClear (-lc) key. In that case, the contents of the log file will be cleared on every next run.
 
-LogClear
 
-lc
 

Example:

 
WinCatalog.exe –o "d:\my catalog.w3cat" –AddNew –FileSystemPath "E:\Folder" -CatalogPath "Catalog\Folder\Sub Folder" –CreatePathIfNotExist –LogFile "d:\WinCatalog.log"
 
Start WinCatalog, open the catalog file "d:\my catalog.w3cat", if not exists, create the "Catalog\Folder\Sub Folder" virtual (blue) folders, add the "Folder" from drive "E:\" into "Catalog\Folder\Sub Folder", save all messages to "d:\WinCatalog.log".
 
WinCatalog.exe –o "d:\my catalog.w3cat" –add –fsp "E:\Folder" –log "d:\WinCatalog.log" -lc
 
Start WinCatalog, open the catalog file "d:\my catalog.w3cat", clear the log file "d:\WinCatalog.log", add the "Folder" from drive "E:\" into the root Catalog folder, save all messages to the log file.