|
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.
, |$ p$ p" p2 L3 m' m- e( N, O# V // include SHLOBJ.H in your CPP file.
0 p V/ ]4 [7 L0 y. E) m #include <shlobj.h>
+ N }" a! u7 @% t# } // Add this statement to your code.
4 X2 k& R. `2 Z! w ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT);
" ^. d, v0 T K& H3 V& DNote: 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. , [$ b5 X! G! c$ J) b3 v; A
|