DepotFile - replaceFileContents
DepotFile - replaceFileContents
Description :
Find a depot file given the name and the full path to the parent group and replace the file contents with the specified fully qualified NSH path.
Return type : void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
parentGroupName | String | Group where depot file is located |
DepotFileName | String | Name of depot file |
newPath | String | Full NSH path to the new file contents |
Example
The following example replaces the file content of a depot file.
Script
DEPOT_GROUP=/myGroup
DEPOT_NAME="My configuration file"
DEPOT_PATH="//testmachine/c/test.txt"
DepotFile replaceFileContents $DEPOT_GROUP $DEPOT_NAME $DEPOT_PATH
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*