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

Updating a Disc, a Folder or a File

Use the -Update (-u) key to update a drive, folder or file in the catalog:
 
-Update
 
-u
 
Path in catalog to a drive, a folder or a file that you want to update should be passed in the -CatalogPath (-cp) parameter:
 
-CatalogPath "path in the catalog"
 
-cp "path in the catalog"
 

Important

 
1. The drive should be connected to the computer before running the command. Otherwise, WinCatalog will display the "Insert Disc" reminder and will wait for user action.
 
2. Path must start with the root folder. If the root folder is the Catalog, it is allowed to be skipped ("Catalog\Disk D" and "Disk D" are equal).
 
3. WinCatalog uses slashes "\" as the delimiters for the catalog path components. If any of the components of the path contain a slash, a double slash, or a semicolon, it must be replaced by {@slash} for slash, {@dslash} for double slash, and {@semicolon} for semicolon.
 
4. You can pass more than one path in this parameter divided by semicolons.
 

Examples:

 
WinCatalog.exe –Open "d:\my catalog.w3cat" –Update -CatalogPath "Catalog\Folder\Sub Folder\My Music"
 
or
 
WinCatalog.exe –o "d:\my catalog.w3cat" –u -cp "Catalog\Folder\Sub Folder\My Music"
 
Start WinCatalog, open the catalog file "d:\my catalog.w3cat", update the folder (or the disk) "Catalog\Folder\Sub Folder\My Music"
 

Example of the slashes replacement:

 
WinCatalog.exe –Open "d:\my catalog.w3cat" –Update -CatalogPath "Catalog\Folder\Public on {@dslash}Server"
 
or
 
WinCatalog.exe –o "d:\my catalog.w3cat" –u -cp "Catalog\Folder\Public on {@dslash}Server;Catalog\Folder\Public on {@dslash}Server;Catalog\Disk D"
 
Start WinCatalog, open the catalog file "d:\my catalog.w3cat", update the network drive "Catalog\Folder\Public on \\Server"
 

Example passing several paths:

 
WinCatalog.exe –Open "d:\my catalog.w3cat" –Update -CatalogPath "Catalog\Folder\Public on {@dslash}Server;Catalog\Disk D"
 
or
 
WinCatalog.exe –o "d:\my catalog.w3cat" –u -cp "Catalog\Folder\Public on {@dslash}Server;Catalog\Disk D"
 
Start WinCatalog, open the catalog file "d:\my catalog.w3cat", update the network drive "Catalog\Folder\Public on \\Server", then "Catalog\Disk D".