Directory in DOS
By using the dynamic variable cd, you can retrieve the (working|current) directory
echo %cd%
rename "C:\myPath\....\dirOldName" dirNewName
Dos - Dir
rmdir C:\myDir /S /Q
xcopy /Y /E C:\myPath C:\myPath2