首页> 外文期刊>Windows IT Pro >Emulating Cmd.exe's Set Command in PowerShell
【24h】

Emulating Cmd.exe's Set Command in PowerShell

机译:在PowerShell中模拟Cmd.exe的Set命令

获取原文
获取原文并翻译 | 示例

摘要

I'm a long-time user of the command shell (Cmd.exe) in Windows. Old habits die hard, sol continually find myself typing the Set command in the Windows PowerShell console when I want to list, set, or clear environment i variables. In PowerShell, Set is an 11 alias for the Set-Variable cmdlet, ' but it doesn't work with environment variables. Instead, you have to use the Get-Childltem, Get-Item, or Remove-Item cmdlet with the ENV: drive.
机译:我是Windows中命令外壳程序(Cmd.exe)的长期用户。旧的习惯会死得很厉害,当我要列出,设置或清除环境变量时,sol会不断发现自己在Windows PowerShell控制台中键入Set命令。在PowerShell中,Set是Set-Variable cmdlet的11别名,但不适用于环境变量。而是必须将Get-Childltem,Get-Item或Remove-Item cmdlet与ENV:驱动器一起使用。

著录项

  • 来源
    《Windows IT Pro》 |2012年第1期|p.15|共1页
  • 作者

    Bill Stewart;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号