DepotFile - copyFileContentsToPath

DepotFile - copyFileContentsToPath

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

toPath

String

Full path to where the contents are to be copied

Example

The following example copies the file content of a depot file.

Script

DEPOT_GROUP=/myGroup

DEPOT_NAME="My configuration file"

DEPOT_PATH="//testmachine/c/test.txt"

DepotFile copyFileContentsToPath $DEPOT_GROUP $DEPOT_NAME $DEPOT_PATH

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

Comments