#include "web_api.h" Action() { //dos命令DIR將文件列表放到文件C:\mytest.txt system("dir c:\\ *.* > c:\\mytest.txt"); return 0; }