C:\TestCmd>> echo %CD%
C:\TestCmd This is the reuslt
C:\TestCmd>> echo %CD:~0,2%
C: This is the reuslt
For more information: http://www.computerhope.com/sethlp.htm
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。