|
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.
- O" @3 A& k& S0 u3 S // include SHLOBJ.H in your CPP file.5 l) Y5 |9 |5 _- k7 {0 w+ p
#include <shlobj.h>
0 S6 p$ t# b: Z8 Q/ \1 J: R8 ` // Add this statement to your code.4 r4 }( T) ^' ?1 L" o, Q' C
ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT); d: N- p" h/ j# W
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.
0 |0 p. F2 G+ W/ \ |