Cannot run program “wmic“: CreateProcess error=2
程序员文章站
2022-03-03 08:24:35
...
# 情境
前两天,在做license的时候,遇到这个问题,之后看到是通过window命令查询系统的相关参数
出现的问题
# 解决
1. 测试
win+r >> 输入cmd >> 打开dos窗口 >> 输入wmic >> 如果出现异常信息,请按照下面步骤操作
2. 操作
配置环境变量中,打开path >> 添加如下配置信息 >> ;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
上一篇: 分治法查找数组元素的最大值和最小值(python实现)
下一篇: 序列中最大的数
推荐阅读
-
Cannot run program "/usr/local/android-sdk-linux/build-tools/23.0.2/aapt": error=2, No such file or
-
Pycharm:Error: Cannot run programError: Cannot run program......CreateProcesss error=2
-
Cannot run program "cmd.exe" 和CreateProcess error=740
-
Error running PHP executable: Cannot run program php.exe: CreatePorcess error=三
-
Cannot run program "/usr/local/android-sdk-linux/build-tools/23.0.2/aapt": error=2, No such file or
-
cannot run program "git.exe":CreateProcess
-
Error running PHP executable: Cannot run program php.exe: CreatePorcess error=三
-
Error running PHP executable: Cannot run program php.exe: CreatePorcess error=三
-
Android:java.io.IOException: Cannot run program "/system/xbin/su": error=13, Permission denied
-
java.io.IOException: Cannot run program “/usr/local/python3“: error=13, 权限不够