Search For File - Symantec WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Hide thumbs Also See for WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0:
Table of Contents

Advertisement

Search for File

WiseScript Editor Reference
New name
Enter the new name for the virtual software layer.
Return variable
(Optional.) Enter a name for the return variable. When this script action runs
successfully, either 0 or 1 is placed in this variable.
See also:
About SVS Script Actions
This action searches for a file on local drives, network drives, or all drives, and returns
the full path to the file.
To complete the dialog box
File Name
Enter the name of the file to search for. The file name can contain wildcard
characters (*, ?). If you select Directory given by File Name field in the Drives
to Search field, then include the full path rather than just a file name.
Variable Name
Enter a variable to store the file path.
Default Value
If the file is not found, the variable above contains the value you enter here. If this
is left blank, the variable is blank if the file is not found.
Example: Specify the location where the file is normally installed. If the file is found,
the new version could overwrite the found file. If the file is not found, the new
version could be installed to the default location.
Message Text
Enter a message to display during the search operation.
Return Type
Select whether to return only the first match, or list of all matches.
Drives to Search
Select to search local drives, network drives, or both. You can also choose to search
the directory path specified in File Name.
Search Depth
Enter how deep into subdirectories the search should look. A depth of 1 searches
only the root directory, a depth of 2 searches the root directory and any
subdirectories in it, and so on. A depth of 0 searches the entire drive.
Use this field cautiously when searching large network volumes. A search depth over
3 or 4 can result in a long wait. Alternatively, prompt the end user to manually
locate the directory containing the file.
See
Browse for Directory
Remove File Name
Mark this to remove a file name from the end of a returned path, leaving only the
directory name. This does not apply to the Default Value field.
on page 40
on page 46.
WiseScript Actions
110

Advertisement

Table of Contents
loading

Table of Contents