RD "c:\users\"+@userid+"\Appdata\Local\Microsoft\Outlook" /s
RD "c:\users\"+@userid+"\Appdata\Roaming\Microsoft\Outlook" /s

These lines would probably be more correct with %userprofile%

RD "%userprofile%\Appdata\Local\Microsoft\Outlook" /s
RD "%userprofile%\Appdata\Roaming\Microsoft\Outlook" /s

{edit: along with the MD lines}


Edited by Allen (2013-05-18 08:19 PM)