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
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