@Ray, thanks a lot. i follow your instruction, and done.
But at the begin, i got some fault message with “ls”. then, i delete the whole line in the code” //sprintf(command, “ls *.html > %s”, LIST_FNAME);” and converte into .exe and run. now everything is ok.