rename "\\?\c:\Documents and Settings\jcreed\Desktop\name of file with trailing spaces " foo
and then deleting foo. I haven't a clue as to how such a file got created in the first place, though. It looked like something I would have got by accidentally pasting a bunch of text into a shell, but trying
echo blah > "test "
only creates a file named "test", not "test ".