in reply to Relative to absolute path

This is a FAQ.

Typing "relative absolute" into the search box above yields a few threads, of which I can especially recommend:

More searching will turn up other nodes on the same question but I think that one has all the answers you want.

- another intruder with the mooring of the heat of the Perl

Replies are listed 'Best First'.
Re^2: Relative to absolute path
by ciryon (Sexton) on Jul 12, 2004 at 08:20 UTC
    Thanks, my bad.

    All that I needed was actually:

    $listdirectory = Win32::GetFullPathName("$ARGV[0]\\..\\listfiles");

    Thanks again.

      Don't use Win32::API, use File::Spec. It is portable and standard.