batch-file Changing Directories and Listing their Contents To display the current directory


Example

Format and Usage:

 echo %cd%

%cd% is a system variable that contains the current directory path