Hi Rick<div><br></div><div>Thanks for that reply but yes I thought of that already and it didn't work. I also tried putting it in double quotes. </div><div><br></div><div>Thanks though I am sure it will be along those lines when I eventually figure it out.</div><div><br></div><div>Lara</div><div><br>On Tuesday, July 28, 2015, Rick Brownrigg <<a href="mailto:brownrig@ucar.edu">brownrig@ucar.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>I don't have a cygwin box to test this, but perhaps you need to escape the spaces, even though they appear between quotations (?):<br><br>filename = "/cygdrive/u/Trading\ -\ Power/image"<br><br></div>HTH...<br></div>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 8:29 AM, Lara Gunn <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','lara.n.gunn@gmail.com');" target="_blank">lara.n.gunn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I am currently running ncl 6.2.1 in cygwin and I am having an issue writing to a folder on a mapped directory to my windows system.</div><div><br></div><div>I can write a file to one directory (NOTE THIS CODE WORKS)</div><div><br></div><div>filename = "/cygdrive/u/Meteorology/image" </div><div>wks = gsn_open_wks("png",filename)</div><div><br></div><div>but not to this one</div><div><br></div><div>filename = "/cygdrive/u/Trading - Power/image"</div><div><br></div><div>I have tried a few things including writing the image to a different directory then using a shell script to move it, but I am trying to set something up that needs to be done fast so the move takes too long. </div><div><br></div><div>Does anyone have an idea of how I create a image in a directory that has spaces in the file anme please?</div><div><br></div><div>Thanks for your time</div><div><br></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','ncl-talk@ucar.edu');" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div>