try running <br><br>#!/usr/bin/bash<br>pwd > dir.txt<br><br>should ouput current directory to dir.txt <br><br>or i dont suppose you could cd /your/scrip/directory/ <br><br>to your script.<br clear="all"><br>-- <br>Umbrella Corporation :-
<br>"They are the fear within all of that there is a company. The Corporation controlling everything that is Umbrella.<br>A combination of Microsoft and the US Military. At some level there is a board of directors who meet once a
<br>month and decide all of our fates."<br>-- Jeremy Bolt - Producer - Resident Evil : Apocalypse