I need to print current directory name after CD command.
Is it possible to do? Thanks!
echo off
echo.
echo This batch program deletes some files
echo.
pause
cd "D:\Folder1\"
pause
Just use cd
with no arguments supplied. From cd /?
:
Type CD without parameters to display the current drive and directory.