# Re: How to do path with spaces

From: Shakespeare <whatsin_at_xs4all.nl>
Date: Mon, 22 Mar 2010 11:05:48 +0100
Message-ID: <4ba740fd\$0\$22918\$e4fe514c_at_news.xs4all.nl>

Op 20-3-2010 13:29, Noons schreef:
> sjsean wrote,on my timestamp of 20/03/2010 9:04 AM:
>> I've been given a script with two variable spots for a path. However,
>> the path I would like to use includes spaces. Can someone advise how
>> I could do this using below as my example? If I take all spaces out
>> then the update in my database occurs...but with spaces it does not.
>>
>> define control_file_path = C:\Documents and Settings\something
>> \Desktop\this folder
>>
>> but if I do:
>>
>> define control_file_path = C:thisfolder
>>
>> it will work. thanks!
>
>
> from a vague memory, I think you need to put "s around the terms with
> spaces.
> with your example above, like this:
> define control_file_path = C:\"Documents and
> Settings"\something\Desktop\"this folder"
> HTH
That should be: "C:\Documents and Settings\something\Desktop\this folder" so " around the complete path.
Shakespeare Received on Mon Mar 22 2010 - 05:05:48 CDT

Original text of this message