Your move statement has quotes in the wrong places:

They should be like this:
Code:
 
move $SD + "\boot.ini" $SD + "\boot-old.ini" /h /r



When constructing your strings, the $SD + "\boot.ini" become one string of "C:\boot.ini". When you placed the $SD and the "\Boot.ini" inside single quotes, the source string became C:"\boot.ini" , and this generated an illegal file name.

If you belive that your filespec would have spaces in it, you should use something like:
Code:
 
Move '"' + $SD + '\some file with spaces.txt"'


This is interpreted as "C:\some file with spaces.txt"

Glenn
_________________________
Actually I am a Rocket Scientist! \:D