in reply to tar sytem command

Well to untar it to the directory the archive is in just do
tar -xvf filename.ext
I think that is what you mean???? I am not sure though, seems to obvious, what do you mean by " the directory the script is in? Do you mean tar is being executed from a script? Please clarify. -aseidas