Okay, I have yet another question that I could not find.I noticed that you can't set variables in for loops without having to do something (like in batch). I've tried googling it and doing a site search, I have gotten no results. So what would the code or command be to allow you to set variables in loops, if a variable IS set in a for loop, do you have to do something special to print it in a for loop, like in batch if it's set in a for loop you need to put !'s around it. Your help would be appreciated.