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

Examples of Command Files

Example of a command file (add-drive.cmd):

 
@echo Adding Disk E:\ to the Catalog
@set wcat="C:\Program Files (x86)\WinCatalog\WinCatalog.exe"
@call %wcat% -Open "D:\My Catalog.w3cat" -Add -FileSystemPath "E:" -CatalogPath "Catalog\Backups"
 
Explanation
 

Another example of a command file (update-folder.cmd):

 
@echo Updating folder T:\Documents to the Catalog
@set wcat="C:\Program Files (x86)\WinCatalog\WinCatalog.exe"
@call %wcat% -Open "D:\My Catalog.w3cat" -Update -CatalogPath "Catalog\2019\Documents" -ExitWhenDone
 
Explanation
 

Updating 3 folders one-by-one (update-3-folders.cmd):

 
@echo Updating 3 folders
@set wcat="C:\Program Files (x86)\WinCatalog\WinCatalog.exe"
@call %wcat% -Open "D:\My Catalog.w3cat" -Update -CatalogPath "2019\Documents;2019\Photos;Public on {@dslash}Server" -ExitWhenDone
 
Explanation