|
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 e, b+ ]4 G! _, i- ^; a6 X
// include SHLOBJ.H in your CPP file.; m& _- ~6 _1 m8 q( a3 R% p5 d/ m6 D
#include <shlobj.h> 0 b# i' Q8 \! b! D1 o( H; a; q) h
// Add this statement to your code.' ]5 v+ i2 \! S4 Y/ O
ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT); * J( q# L5 D8 c
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.
5 i, @) M% ^2 z! H- p |