Windows it so graphics rich that often forgot that it even has a command line. While Linux guys can not imagine life without a shell. When writing a batch script we often need to know the current working directory, in windows there is no
pwd
. Windows has two command for this task.
chdir
cd
it can be used in a batch file like
echo %cd%