<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="mailto: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="mailto:ncl-talk@ucar.edu">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>