Can someone please advise on the syntax to grab some DOS environmental variables (on WIndows Server 2003 and XP) into a Kixtart variable.

I am trying to pass the APPDATA path into a Kixtart variable.

This is so I can detect the presence of a file in the above path and delete it.

Thanks.