>At various times there have been posts bemoaning the absence of the old Filer utility in VFP. While there is a replacement available on the Microsoft site, it is also possible to get similar functionality from the Shell.Application, if you're running Win 98 or have installed IE 4.0 or higher. Here's how. From the command window type:
oShell = CREATEOBJECT('Shell.Application')
>oShell.FindFiles
This will bring up the Windows Find utility. You can the use the utility to find text in files, files that were created or modified within a date range, etc. Once the search has been run, you can then select the files you want to open and drag them into the command window. This will cause VFP to open the desired files.
The Shell object is an EXTREMELY useful interface to windows UI stuff. Also, sheck out the following functions:
oShell.BrowseForFolder()
oShell.CascadeWindows()
oShell.ControlPanelItem()
oShell.Explore()
oShell.FileRun()
oShell.FindComputer()
oShell.Help()
oShell.MinimizeAll()
oShell.SetTime()
oShell.ShutdownWindows()
oShell.TileHorizontally()
oShell.TileVertically()
oShell.TrayProperties()
oShell.UndoMinimizeALL()
If you are willing to get a little more in depth, and work with namespaces and folder items, there is LOTS of other stuff you can do.
Erik Moore
Clientelligence