|
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. 6 K$ O. R7 |! N& D: V# O
// include SHLOBJ.H in your CPP file.
( K. j% W8 M- Q9 H #include <shlobj.h>
6 c6 V1 S. e* W. n3 b) B0 M // Add this statement to your code.1 o z) ^: Y% R$ k: s6 Q
ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT);
$ \/ D l) t2 i p4 F9 w J/ n# v( GNote: 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. ]. B' V1 A: W/ t8 w
|