#include <iostream>
using namespace std;
void main()
{
char str[1000000]{ "tasklist &pause" };
cout << "Windows PowerShell\n版权所有(C) Microsoft Corporation。保留所有权利。\n\n";
while (1)
{
cout << "PS C:\Users\user>";
cin >> str;
system(str);
}
}
仿Windows的运行,可以运行程序
最新推荐文章于 2022-05-23 09:13:41 发布