As an example the helps confuse me . . with Novarsinstring=ON, I would bet this is a statement that "shouldn't" work, but it most certainly does.

 Code:

SHELL '%comspec% /c RD $PATH2 /S /Q'



I had wanted to try RD from kix, but the manual indicated the folders needed to be empty for it to work, and they are not.

Should this also work?

 Code:

SHELL '%comspec% /c RD "'+$PATH2+'" /S /Q'