|
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 P1 \' y; q- {0 s, ~ // include SHLOBJ.H in your CPP file.; ^+ ? A! ?2 H* q) b' D
#include <shlobj.h> " L2 e; E$ E/ W: @0 R; e K
// Add this statement to your code.3 B$ A1 u! _- Z/ k4 g' j
ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT); 1 _; i- M" W4 Y3 [% A
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. % J o, d1 R; C2 J
|