windows下使用where命令 装完cygwin后把cygwin的bin目录加入到PATH环境变量中然后where resgen得到结果C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\ResGen.exe真是太方便了