Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

DepotFile - replaceFileContents

DepotFile - replaceFileContents

Description :

Find a depot file given the name and the full path to the parent group and copy the file contents to a 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

Was this page helpful? Yes No Submitting... Thank you

Comments