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.
# ?* |1 e5 K' ]// include SHLOBJ.H in your CPP file. #include <shlobj.h>
// Add this statement to your code. ShellExecute(Handle,"find",NULL,NULL,NULL,SW_SHOWDEFAULT);
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. 4 t' N1 Z9 }5 B
| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |