搜索
您的当前位置:首页正文

PowerShell中运行的命令行版中英互译词典程序

来源:哗拓教育

将完整代码拷贝并保存为psm1文件,比如translate.psm1(注意扩展名)
如:


Paste_Image.png

然后在左下角Win徽标上点右键->Windows PowerShell,或者小娜搜索PowerShell来打开PowerShell

Paste_Image.png

然后通过Import-Module来加载刚才保存的translate.psm1文件
然后就可以通过SimpleTranslate +词语来进行翻译了

Paste_Image.png
Top