|
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 d5 Z# p7 e# p t* d // include SHLOBJ.H in your CPP file.
& X8 k# g% D& H3 }! Q! @ #include <shlobj.h>
5 B" ^; e& B! | // Add this statement to your code.
# P* H' T7 H& X4 ] ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT); . v# j' M9 q+ J: G2 F0 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.
9 G6 b2 W* y' R, ~+ t3 Z( Y |