>*explorer is actually a good tool to search any string in folders/subfolders >*can configure it to search only the string on files names or inside the files also. >*it uses the shellexecute/find options to fire or manually [run/n explorer] only >*all strings searched in a folder recursively in subfolders found are highlighted in yellow... >*see the photo attached > > >Declare Integer ShellExecute In SHELL32.Dll Integer nWinHandle,; > STRING cOperation,; > STRING cFileName,; > STRING cParameters,; > STRING cDirectory,; > INTEGER nShowWindow >*find in folder : works launch the windows utility search for a folder >**can input a string to search in filename or in files (configure the search options in toolbar) >Local m.ystr >m.ystr="jpg" >If ! ShellExecute(0, "find", Home(1), "", "", 1)>32 &&should be getdir() dialog instead home(1) > Messagebox("An error was occured!",4+4096,"Error") >Endi > >Inkey(1) > >Local oshell >oshell=Newobject("wscript.shell") >oshell.sendkeys("Visual foxpro") >oshell.sendkeys("~") >oshell=Null >>note this takes always a certain time not instantaneous!