I have an AWK script, i.e., an ascii file executable in linux in which the first line is: 

```
#!/usr/bin/awk -f 

```

I execute myscript like this, if I'm in the same directory:

```
> ./myscript  afile

```

Or like this, if I'm in a different directory:

```
> pwd
/some_weird_path
> /full_path/myscript   afile

```

How can I have access to "/full\_path/" from within the AWK script itself? I've tried the following without success:

```
ARGV[0]  => /usr/bin/awk
ARGV[1]  => afile
ENVIRON["PWD"] => some_weird_path

```

Ideas?