Chinaunix

标题: 求教: cygwin 中如何执行bat文件 [打印本页]

作者: dahe_1984    时间: 2010-03-24 19:43
标题: 求教: cygwin 中如何执行bat文件
自从google在中国关闭后,好像google的搜索也成了问题。

请问在cygwin中如何执行bat文件呢?
作者: longbow0    时间: 2010-03-24 23:37
cygwin 是 linux-like 环境,bat 一般认为是 dos/windows 的批处理文件。不明白为什么要这样做?
作者: Ray001    时间: 2010-03-25 10:00
理论上先执行windows/system32/command.com以后就能执行bat了。实际测了一下,我这里报错。
作者: blackold    时间: 2010-03-25 10:36
这个需求很奇怪!

path/cmd.exe /C batfile




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2