At 2:44 am +0200 10/6/06, Emmanuel wrote:
>...in do shell script is the root level of the startup disk, while
>in Terminal it's your Home folder.
>
>In other words, for do shell script "myFile" is "Macintosh
>HD:myFile" while in Terminal "myFile" is "Macintosh
>HD:Users:[you]:myFile".
>
>So, scripts for one and for the other have to be different.
...unless one makes a habit of starting with "cd $HOME;"
do shell script "echo $PWD;cd $HOME;echo $PWD;"
JD