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. 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: http://osgeo-org.1560.x6.nabble.com/Cannot-change-directory-via-GRASS-command-console-tp5092923p5094253.html Sent from the Grass - Users mailing list archive at Nabble.com. _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
