Scripting Question

Search for a key word

06/05/2013 1584 views

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* ?

Answer Summary:
0 Comments   [ + ] Show comments


All Answers


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.

Answered 06/05/2013 by: SnowLyric
Second Degree Brown Belt


this is a file search


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


Answered 06/05/2013 by: SMal.tmcc
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


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