In reply to Leonid Batkhan.

I agree, the dual syntax %% and !! doesn't make much sense to me either. The ignorance about DOS shell delayed var capability probably comes from the shift towards Powershell, much promoted by MS. Some people even think DOS shell has been deprecated and abandoned from newest versions of Windows !