关于在VS2008中如何使用windows系统命令fc命令
#include <iostream>#include <stdlib.h>
using namespace std;
int main(int argc, char **argv)
{
system("cd C:\\test && FC 1.txt 2.txt > 3.txt");
return 0;
}
调试时显示的错误为:FC: 无法打开 1.TXT - 找不到此类文件或文件夹
求高手指点
2016-11-08 10:17