Knowledge Walls
John Peter
Pune, Maharashtra, India
Things to Know [cont'd]
Present working directory in Things to Know of MS-DOS Commands
6247 Views
How to get Present Working Directory (pwd) in Windows MS-DOS? 
%CD%  is used to get the present working directory in ms dos.

How to do?
echo %CD%

Output
D:/microsoft/ms-commands
Cd command 
cd command without arguments shows present directory in ms dos commands.

Example
C:> cd
Demo 
Next Topics
Next lessons of current book.
Things to Know of MS-DOS Commands
Decision making of MS-DOS Commands
Decision making of MS-DOS Commands
Previous Topics
Previous lessons of current book.
Things to Know of MS-DOS Commands
Best Lessons of "MS-DOS Commands"
Top lessons which are viewed more times.
Arithmetic Operators of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
String manipulation of MS-DOS Commands
Relational Operators of MS-DOS Commands
String manipulation of MS-DOS Commands
String manipulation of MS-DOS Commands
Things to Know of MS-DOS Commands
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details