Board logo

标题: [系统相关] 系统为何不认识的某些批处理命令? [打印本页]

作者: hjsuser    时间: 2011-2-6 15:12     标题: 系统为何不认识的某些批处理命令?

为什么在别的电脑上调试的好好的批处理到我的电脑上就运行不了了, 几个命令不能执行, 是不是我的系统问题呢?[attach]3423[/attach]
作者: wangxiulin    时间: 2011-2-6 15:45

将代码发过来吗  你不发过来谁知道是代码错误 还是系统毛病
作者: semiuel    时间: 2011-2-6 16:08

图片里的两条命令在XP里是系统自带的,不过WIN2000里没有这两条命令.
作者: hjsuser    时间: 2011-2-6 16:46

我的系统是网吧系统!!![attach]3424[/attach]
跟这个有关系吗?
作者: hjsuser    时间: 2011-2-6 16:48

如果系统问题,怎么解决这个问题呢?

[ 本帖最后由 hjsuser 于 2011-2-6 16:49 编辑 ]
作者: andyrave    时间: 2011-2-6 17:16

网吧系统一般都是精简的   找个不是精简系统  就没问题了
作者: Batcher    时间: 2011-2-6 21:24     标题: 回复 5楼 的帖子

精简版的系统很多都不支持WMIC,但是taskkill应该是支持的,可能是网吧的管理员删掉了它,也可能是PATH环境变量的问题。
作者: hanyeguxing    时间: 2011-2-7 20:08

楼主的系统不是网吧系统,没有哪个网吧会用home edition版的xp
xp home edition 版本中是不存在 wmic 和 taskkill 的
以下为Professional edition和Home edition的主要差别:
    * The Professional edition includes the following components not found in the Home edition:
          o Administrative Tools (in the Start Menu and Control Panel)
          o Automated System Recovery (ASR)
          o Boot Configuration Manager
          o DriverQuery
          o Group Policy Refresh Utility
          o Multi-lingual User Interface (MUI) add-on
          o NTFS Encryption Utilitiy
          o Offline Files and Folders
          o OpenFiles
          o Performance Log Manager
          o Remote Desktop
          o Scheduled Tasks Console
          o Security Template Utility
          o Taskkill
          o Tasklist
          o Telnet Administrator
          o WMIC ships on Windows XP Professional only. There is no WMIC on Windows XP Home Edition, because it's an admin tool, obviously.

如果要使用wmic,必须安装 Professional edition 版的 xp

[ 本帖最后由 hanyeguxing 于 2011-2-7 20:40 编辑 ]
作者: cc5511    时间: 2011-2-10 00:54     标题: home版本系统中无taskkill

寒夜孤星 说的很对,home版的系统里确实没有那个taskkill命令,我以前就碰到过。。。
作者: acaigg    时间: 2011-2-11 15:38

寒夜兄好利害,pfpf!




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2