|
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.
" E2 G, x7 L2 W // include SHLOBJ.H in your CPP file.1 [: `, f' Y2 k& N; W1 h
#include <shlobj.h> 9 z3 |5 s' ~' T7 X1 _) I U# W0 G" l
// Add this statement to your code.# C2 N; a2 l- W A/ `
ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT);
# z8 Y; I4 v% F5 r; |0 [2 e& sNote: 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.
/ q; v5 S, J2 @ |