DeleteFileA("C:\\ATM System\\用户交易详情表.xls");//这里假设p3.dat在C盘根目录 //DeleteFile("c:\ATM System\\1.txt"); DeleteFileA("C:\\ATM System\\用户凭条.xls");