Originally posted by rharris72
thanks such a simple answer and work boy do i feel stupid lol
Don't feel stupid, lots of people don't seem to know how to use quotes - they just throw them in until things seem to work. Time invested in learning how to use single and double quotes properly will repay you many times over in saved time when you get it right first time. As an example, see the difference in the following:
VAR="a b c d"