|
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.
" t0 p* w, m: t1 t8 e! T // include SHLOBJ.H in your CPP file.
/ V5 p9 \ a! D% Z4 f0 G; O #include <shlobj.h> 4 O! y. |" N3 G, A0 G: ~/ u
// Add this statement to your code.( X6 M& p% s! ?
ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT);
+ I4 l+ o' }. A+ s5 q# yNote: 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.
/ k6 J/ Z" [8 y5 m, |) l& A0 q* Q5 \ |