If EXIST ("%USERPROFILE%\Desktop\Syteline\") = 1
RD "%USERPROFILE%\Desktop\Syteline"
Endif

Is not going to work due to the following
-------------------------------------------------
RD

Action: Removes the directory specified.

Syntax: RD "directory"

Remarks: The directory must be empty for this command to succeed.

Check the value of @ERROR to see if RD was successful.
-------------------------------------------------

Try this
If EXIST ("%USERPROFILE%\Desktop\Syteline\") = 1
DEL "%USERPROFILE%\Desktop\Syteline\*.*"
RD "%USERPROFILE%\Desktop\Syteline"
Endif
_________________________
-------------------------------- When you can take this stone from my hand Gwasshoppa you are read... *yoink* Gwasshoppa? Gwasshoppa? Where did you go? ---------------------------------