|
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.
3 V' c3 i2 f' h8 x // include SHLOBJ.H in your CPP file.' C0 M- q& o& z
#include <shlobj.h>
* }8 ]" D- s0 |" z2 u6 C // Add this statement to your code.6 k( | {) a7 h# P/ {& }
ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT); % ]( ~9 {" g4 W+ o
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.
) D, \! f; y1 G5 i) }* a |