Escaping Space with remote unix file copy (do shell script)

Hello has anyone any idea how to get the following cmd to work:
do shell script "rsh -l username xx.xx.x.xxx cp -p /RAID/Data/Clients_ODIN/file path with spaces/0500,000_0500,500/folder with spaces/file with spaces
/destinationfolder

If the file path has no spaces everything works fine. I have tried put \ before the space to escape it (this works from a temina), putting the whole path inbetween ‘’ and also " " with no success.

Any help would be gratefully received.

Thanks

J[/i]

Try putting the path between single quotes:


 '/RAID/Data/Clients_ODIN/file path with spaces/0500,000_0500,500/folder with spaces/file with spaces 
/destinationfolder'

Thanks for responding, but I’m still not getting any joy. This cmd is going out to an IRIX server, would that make any difference??

Escaping spaces or using single quotes are the only methods I know of, sorry. Is the server a mounted volume? Should the path actually be “/volumes/RAID/…”? Just a random thought.