I need a script to find a file located in the following location:
"C:\Documents and Settings\<username>\Applic
ation Data\Macromedia\Flash Player\www.macromedia.com\bin\ciscounifiedaddin6x5\ciscounifiedaddin6x5.exe
What I want is for a script to search a user's profile until it finds the "ciscounifiedaddin6x5.exe"
file, when it does find it, I want it to call on an a program to run an installation. I know how to write a script that can do this if the file was located in the Program Files location or C:\ or C:\Windows or some other static location, but since user profile directories are of course different, how do I tell the script to scan a user profile's hidden Application Data location until it finds this file? I dont want the script to keep scanning even after it finds the "ciscounifiedaddin6x5.exe"
, I just want it to keep scanning UNTIL it finds even just one of these files, and if so, run a program. Your help is greatly appreciated.