foxidrive wrote:Or this: (untested)Code: Select all
@ECHO OFF
pushd "C:\test\New folder\" && (
RD /S /Q "C:\test\New folder\" 2>nul
)
popd
PAUSE
I've got most of it.
But one thing not sure...
2>nul (no redirection?) the nul device?
Why is it needed after RD?