Search for a key word

I'm using WiseScript. I need to do a file search that searches for a directory that begins with Reader. It can begin with Reader and end with anything. Would the proper way to do that be to search Reader* ?

This will be followed by and If statement. Would I then proceed to check if it's equal to Reader or Reader* ?

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: SnowLyric 10 years ago
Second Degree Brown Belt

Why don't you use "Search for File" action with wildcard character *? It can then assign to a variable and be used in If block. If the variable is assigned a value(in this case file path), it indicates search was successful. I'm not sure if this action can be used to serach directory. See "Check if File/Dir Exists" action as well.

Posted by: SMal.tmcc 10 years ago
Red Belt

this is a file search


you need to do a folder search, which is a different thing.


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ