At 15:56 18/07/01 +0100, Kenny Duffus wrote: >Have you tried quoteing the filename: > > prompt> command "/random/path/with a space in it" Doesn't work very well if 'command' then passes $1 to another program. >or escapeing the spaces: > > prompt> command /random/path/with\ a\ space\ in\ it Seems to work a treat! (thanx also to Lawrence who suggested this) I'll go and have a wee play around now. Ta Colin -------------------------------------------------------------------- http://www.lug.org.uk http://www.linuxportal.co.uk http://www.linuxjob.co.uk http://www.linuxshop.co.uk --------------------------------------------------------------------
- [scottish] Spaces....the final frontier Colin McKinnon
- Re: [scottish] Spaces....the final f... Andrew Crawford
- Re: [scottish] Spaces....the final f... Lawrence Sweeney
- Re: [scottish] Spaces....the final f... Mark Robinson
- Re: [scottish] Spaces....the final f... Lawrence Sweeney
- Re: [scottish] Spaces....the final f... Kenny Duffus
- RE: [scottish] Spaces....the final f... Ian Drake, IT, SE Dunbartonshire
- Re: [scottish] Spaces....the final f... Colin McKinnon
- Re: [scottish] Spaces....the fin... Andrew Crawford
- Re: [scottish] Spaces....the final f... Colin McKinnon
- Re: [scottish] Spaces....the final f... Lawrence Sweeney
- Re: [scottish] Spaces....the final f... Gavin McCord
- Re: [scottish] Spaces....the final f... Paul Millar
- Re: [scottish] Spaces....the final f... Colin McKinnon
- Re: [scottish] Spaces....the fin... Aidan Skinner
- Re: [scottish] Spaces....the fin... Will Partain
