<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
    text="#000000">
    <div class="moz-cite-prefix">On 14/12/2013 20:24, PB wrote:<br>
    </div>
    <blockquote cite="mid:1387045462505-5094253.post@n6.nabble.com"
      type="cite">
      <pre wrap="">Hi - ok, step by step...

I use GRASS 6.4.3 (Windows 7) as bundled with QGIS2.  I open GRASS (as
administrator) via "C:\Program Files\QGIS Dufour\bin\nircmd.exe" exec hide
C:\PROGRA~1\QGISDU~1\bin\grass64.bat -wx

This defaults to my LOCATION and MAPSET in
D:\Users\....\Sattelite_Processing [spelled wrong I know, but now this path
is used throughout all my scripts!]

I have a bash script located in D:\Users\....\Sattelite_Processing (see my
earlier message) called "myscript.sh"

In the command console (GRASS GIS Layer Manager GUI) I can run the bash
script using <sh D:/Users/.../Sattelite_Processing/myscript.sh> . However,
for this script to work I have to put the original files in the directory
C:\Program Files\QGIS Dufour\bin.  I worked this out when I typed <DIR> in
the command console.  

Typing <ls> in the command console also returns the contents of this
directory.  

typing <pwd> in the command console returns "/osgeo4w/bin"

So, what I'd like to change the directory in the command console such that I
don't have to put original data files in the QGIS2 bin folder.  Please see
my earlier post for more details.  
</pre>
    </blockquote>
    <br>
    Missed your earlier post, but did you try "cd <your data
    directory>" ??<br>
    If your data is on a different drive (D: for example) you first type
    "D:" then, after you've switched to that drive, the "cd" command.<br>
    <br>
    <br>
    <blockquote cite="mid:1387045462505-5094253.post@n6.nabble.com"
      type="cite">
      <pre wrap="">
Typing your suggestions don't change the results of <ls>, <pwd>, or <DIR>. 
So I'm at a loss as to what to do.  My next step was to install GRASS
independently of QGIS, but i'd rather not as I can see that might all sorts
of other conflicts.  

Paul






--
View this message in context: <a class="moz-txt-link-freetext" href="http://osgeo-org.1560.x6.nabble.com/Cannot-change-directory-via-GRASS-command-console-tp5092923p5094253.html">http://osgeo-org.1560.x6.nabble.com/Cannot-change-directory-via-GRASS-command-console-tp5092923p5094253.html</a>
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>

This mail was received via Mail-SeCure System.


</pre>
    </blockquote>
    <br>
  </body>
</html>