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