Hi There<div><br></div><div>I talked with Helmut, since he is an Win-GRASS expert user, and we have done this test with WinGRASS (Bash Scripts):</div><div>r.out.xyz input=&lt;whatever but it can be elevation&gt; output=C:\delete\ai.txt</div>
<div><br></div><div>If I run this in WinGRASS text mode it places the data in file c:\deleteai.txt (it ignores the &#39;\&#39;</div><div>If I run this in WinGRASS text mode but I place &quot; &quot; around the ouput it runs OK and places the data in c:\delete\ai.txt</div>
<div><br></div><div>If I run this in WinGRASS wxPYTHON GUI it places the data in file c:\deleteai.txt</div><div>If I run this in WinGRASS wxPYTHON GUI but I place &quot; &quot; around the the output path it does not run and it get this error: </div>
<div>&quot;C:Deleteai.txt&quot;: No such file or directory</div><div><br></div><div>So this is a problem of WxPython in Windows when it gets the file paths and it sends to Scripts (Python or Bash Script)</div><div><br></div>
<div><br></div><div>Any suggestion on how to solve this?</div><div><br></div><div>Thanks</div><div>Katrin</div><div><br><div class="gmail_quote">2011/3/14 katrin eggert <span dir="ltr">&lt;<a href="mailto:katrineggert1980@gmail.com">katrineggert1980@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Glynn<div>First of all, thank you for replying to my emails...</div><div><br></div><div><div><div><div class="gmail_quote">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Python accepts &#39;\&#39;. GRASS typically just passes filenames to the OS,<br>
and Windows accepts &#39;\&#39;.<br></blockquote><div> </div></div><div>Yes you are right. But for instance, if I try to run  r.out.xyz GRASS script (included in WiNGRASS standalone versions) like this: r.out.xyz input=1990@climate output=C:\delete\ai.txt:</div>

<div>- In bash Script it does not place it in c:\delete\ folder but it places in c:\ a file named deleteai.txt. This means that it&#39;s ignoring the &#39;\&#39;</div><div>- Then, I tried with r.out.xyz Python script adn the same happened.</div>

<div><br></div><div>This happens not only with r.out.xyz but also with other Bash and Python GRASS scripts.THe problem is that, when a user places a path to a file in Scripts GUI (in Windows OS), when it presses the run, &quot;inside the script&quot;, the variable &quot;loses&quot; the &#39;\&#39;.</div>

<div><br></div><div>THis is not specific this is for all GRASS Scripts (Bash and Python) that uses filepaths in Windows OS.</div><div>Or am I analyzing this wrong?<br><br></div><div><br></div><div>Katrin Eggert</div></div>

</div>
</div></div>
</blockquote></div><br></div>