|
You can find files by using the ShellExecute function. Unfortunately, this doesn't quite work like I was hoping. Here is how you do it.
" Z- d1 k2 U9 g H- _ // include SHLOBJ.H in your CPP file.
2 d! K. j3 g/ X' l #include <shlobj.h> % w& H/ A! k+ ]
// Add this statement to your code.
$ w) F7 k1 o; x6 Y7 s ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT); 8 S2 S# r% @# T* a! i" y+ t
Note: The downfall is that you can't specify what to search for. ShellExecute usually allows you to specify a filename, but you can't specify a file when you use the "find" command. ; h5 Q) l( M- |1 W* s
|