1.百度-批处理之家-【续】一日一教学
2.或者使用“命令查询器(英汉双语解释)”
输入dir就会显示dir的英汉双语解释。
@echo off
Set /p comm=Input The comm that you want to query:
>nul chcp 437
(echo English:
echo.
echo.)>result.txt
>>result.txt %comm% /?
>nul chcp 936
(echo.
echo.
echo Chinese:
echo.
echo.)>>result.txt
>> result.txt %comm% /?
start result.txt