Re: problem with spaces in path

From: Alan Brammer <abrammer_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 29 2012 - 10:25:07 MDT

My bad, didn't actually test that, just presumed that would work, will hang my head sheepishly. I get the same result as you. I'm not sure about your answer then.

Alan.

On Aug 29, 2012, at 11:00 AM, Alan Brammer <abrammer@albany.edu> wrote:

> To reference a directory or file name with spaces, you need a \ before the space. This is standard when using a command line prompt.
>
> e.g. "/home/user/directory\ with\ spaces/map"
>
>
> Alan.
>
> -------------------------------------
> Alan Brammer,
> PhD Student
>
> Department of Atmospheric and Environmental Sciences, University at
> Albany, SUNY, Albany, NY, 12222
>
> -------------------------------------
>
>
> On Aug 29, 2012, at 10:43 AM, Xavier Corredor Llano <xcorredorl@unal.edu.co> wrote:
>
>> Hi
>>
>> I have a problem with spaces in the path name in function gsn_open_wsk when I
>> want save the image in directory with spaces in its name, for example:
>>
>> wks = gsn_open_wks("png", "/home/user/directory with spaces/map")
>>
>> the image saved in "/home/user/directory" and it is wrong, are there any
>> special character for include spaces in path to save image?
>>
>> I know that this work if I first go to directory and then run script with
>> "map", but this does not solved my problem.
>>
>> thanks in advance
>> regards
>>
>> --
>> Xavier Corredor Llano
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 29 10:25:25 2012

This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:42 MDT