|
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 D. S4 d8 {5 H3 N A. f3 z$ @" ~ // include SHLOBJ.H in your CPP file.& K* `& c7 ?( X" Q
#include <shlobj.h> : H4 F- r7 u7 N# X3 {) J) D
// Add this statement to your code.* I8 R) w, N8 d
ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT);
2 x4 F7 C+ I$ FNote: 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.
, l3 S" ~' N4 g+ S |