我正在尝试执行一个包含以下内容的简单批处理文件。
ECHO OFF
::CMD will no longer show us what command it’s executing(cleaner)
ECHO As a network admin, I’m getting tired of having to type these commands in!
:: Print some text
IPCONFIG /ALL
:: Outputs tons of network information into the command prompt
PAUSE
:: Lets the user read the important network information
PING www.google.com
:: Ping google to figure out if we’ve got internet!
ECHO All done pinging Google.
::Print some text
PAUSE
但是,除了命令提示符闪烁外没有任何反应。暂停似乎没有任何影响。请帮忙。
答案 0 :(得分:0)
我认为您需要具有管理员权限才能运行ipconfig。