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* ?
Answers (2)
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.