|
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. 2 a% |2 ~' ?7 X, T1 v) H8 L
// include SHLOBJ.H in your CPP file.
6 O/ v7 [; J' S" t, P #include <shlobj.h> & p+ M% B" V! s- ~+ D' ^
// Add this statement to your code.
5 Y1 ]2 g. i; W9 L+ U5 O& p% B# T) N ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT);
7 M1 c' o* M. c tNote: 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.
. Z3 D' u8 f- j+ @* R. {5 k) { |