我接下来不知道代码,所以请原谅我的无知。我正在尝试运行
netsh winsock reset
和
netsh int ipv4 reset
。我试过用&和&&但只执行第一个命令。
以下是我从其他答案中获得的内容:
cmd /K netsh winsock reset & netsh int ipv4 reset
如何让它运行第二个命令?
答案 0 :(得分:1)
使用struct mything1 {
int foo;
int has_foo;
int bar;
int has_bar
};
您可以参考here for more info
this answer on StackOverflow也可能有用