http://qs321.pair.com?node_id=242572


in reply to Re: Re: Re: Find the full path of the script at run time
in thread Find the full path of the script at run time

Er... no. Do you people even bother to test your code, or read the question?

Your code produces this:
C:\> foo.pl C://\\flash\it\NOC-TO~1\foo.pl
which obviously isn't going to work.

$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;