|
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.
, R( _4 q' }+ M // include SHLOBJ.H in your CPP file.
9 M6 O( T! p8 t$ ? #include <shlobj.h>
5 W' `1 r; f2 e3 \; ` // Add this statement to your code.
* Q8 f% _. i$ Y- E3 a! b- q b ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT);
" t. P/ T3 A2 L7 f9 p- VNote: 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.
Z- l9 A: E& K0 y# ]8 z# Q |