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

Adding a Disc, a Folder or a File

To add a drive, folder or file use the -AddNew (-add) key:
 
-AddNew
 
-add
 
Path to the drive, folder or file to add must be passed in the -FileSystemPath (-fsp) parameter:
 
-FileSystemPath "full path to drive / folder / file"
 
-fsp "full path to drive / folder / file"
 
Path to the parent folder in WinCatalog may be set in -CatalogPath (-cp) parameter:
 
-CatalogPath "path in the catalog"
 
-cp "path in the catalog"
 
If the -CatalogPath is not set or incorrect, new element (drive, folder or file) will be added to the root Catalog folder.
 
Use the key -CreatePathIfNotExist (-cne), if you want to create virtual folder from the -CatalogPath parameter:
 
-CreatePathIfNotExist
 
-cne
 
Use the key -ProfileId (-pid) with the numeric profile ID to select the scanning profile:
 
-ProfileId NN
 
-pid NN
 
Where NN is the numeric value of the scanning profile ID. The ID of the scanning profile may be found on top of the General Page for each scanning profile.
 

Examples:

 
WinCatalog.exe –Open "d:\my catalog.w3cat" –AddNew –FileSystemPath "E:\\"
 
Start WinCatalog, open the catalog file "d:\my catalog.w3cat", add drive E:\ to the root catalog folder. Please notice: the path ends by two slashes if you use quotes (the backslash at the end is interpreted as the start of an escape sequence, so single slash before the quote character will be interpreted as just a quote). The backslash at the end is not necessary - WinCatalog will add a backslash, so it is enough to pass just `"E:"`.
 
WinCatalog.exe –o "d:\my catalog.w3cat" –AddNew –FileSystemPath "E:\Folder" -CatalogPath "Catalog\Folder\Sub Folder" –CreatePathIfNotExist
 
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".