RUN_UTILS

The RUN_UTILS script command can be used to run various file system related commands.

Syntax

RUN_UTILS <UtilityCommand> <Command Parameters>

Executes a framework supported UtilityCommand with the specified command parameters. Wildcards parameters like * are permitted with the file manipulation commands.

The following table lists the utility commands, the syntax, and the description for each command:

Utility CommandSyntaxDescription

CopyFile

CopyFile <FullSrcFilePath\SrcFileName> < FullDestFilePath\DestFileName>

Copies the specified source file to the specified destination.

DeleteDirectory

DeleteDirectory <DirectoryPath>

Deletes the specified directory in the given path.

DeleteFile or Delete

DeleteFile <FullFilePath\FileName> or Delete <FullFilePath\FileName>

Deletes the specified file.

MakeReadWrite

MakeReadWrite <FullFilePath\FileName>

Sets the attributes for the specified file to read or write.

Mkdir

MkDir <FullDirPath\Dir\>

Creates the specified directory.

This command does not create all directories in the same path. For example, to create c:\SomeFolder1\SomeFolder2\ you need to use the following commands:

RUN_UTILS MkDir c:\SomeFolder1\
RUN_UTILS MkDir c:\SomeFolder1\SomeFolder2\

Note: If your system drive is other than C: drive, use the SYSDRIVE variable with the absolute file path to point to the system drive.