<div>Thank you very much!</div><div>It works perfect!</div><div><br></div><div>Best,</div><div>Qi</div><div><br></div><div><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">Message: 8</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">Date: Tue, 12 Apr 2016 13:03:23 +0200</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">From: Davide Sacchetti &lt;</span><a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank" style="outline: none; cursor: pointer; color: rgb(61, 94, 134); font-family: 'lucida Grande', Verdana; line-height: 23.8px;">davide.sacch<wbr>etti@arpal.g<wbr>ov.it</a><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">Subject: Re: [gradsusr] How to define the diretory in grads script?</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">To:&nbsp;</span><a href="mailto:gradsusr@gradsusr.org" target="_blank" style="outline: none; cursor: pointer; color: rgb(61, 94, 134); font-family: 'lucida Grande', Verdana; line-height: 23.8px;">gradsusr@gra<wbr>dsusr.org</a><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">Message-ID: &lt;</span><a href="mailto:1460459003.20354.67.camel@arpal.gov.it" target="_blank" style="outline: none; cursor: pointer; color: rgb(61, 94, 134); font-family: 'lucida Grande', Verdana; line-height: 23.8px;">1460459003.2<wbr>0354.67.came<wbr>l@arpal.gov.<wbr>it</a><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">Content-Type: text/plain; charset="UTF-8"</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">very easy:</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">dir = 'E:\data\merge_pcp\2010\jun\'</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">'open 'dir'a.ctl'</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">bye bye</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">Davide</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">On Tue,&nbsp;</span><span t="5" times="" style="font-family: 'lucida Grande', Verdana; line-height: 23.8px; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: rgb(204, 204, 204);">2016-04-12</span><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&nbsp;at 18:17 +0800, LI Qi wrote:</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; e.g., the .ctl file, data, and output figs are all in the same</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; directory</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; how do I define the dir in the .gs script like</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; dir = 'E:\data\merge_pcp\2010\jun\'</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; 'open 'dir+'a.ctl'</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; ...</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; 'gxprint 'dir+'\rain24h.png'&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; so I can just modify the "dir"</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; Any hint will be appreciated!</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; _______________________________________________</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt; gradsusr mailing list</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><a href="mailto:gradsusr@gradsusr.org" target="_blank" style="outline: none; cursor: pointer; color: rgb(61, 94, 134); font-family: 'lucida Grande', Verdana; line-height: 23.8px;">gradsusr@gra<wbr>dsusr.org</a><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"><span style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;">&gt;&nbsp;</span><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank" style="outline: none; cursor: pointer; color: rgb(61, 94, 134); font-family: 'lucida Grande', Verdana; line-height: 23.8px;">http://grads<wbr>usr.org/mail<wbr>man/listinfo<wbr>/gradsusr</a><br style="font-family: 'lucida Grande', Verdana; line-height: 23.8px;"></div>