F
fossildoc
I'm running build 813 on 'doze XP/Home. I want my Perl script to
determine the directory from which it was run. This is equivalent to
retrieving the command line. For example, from a DOS window I type:
There is a Win32 function, Find, that can look for files, but it only
searches the INC directories, so it is not reliable.
Any ideas, please.
determine the directory from which it was run. This is equivalent to
retrieving the command line. For example, from a DOS window I type:
I want the script to be able to retrieve the string "c:\mydir".\perl\bin\perl c:\mydir\myscript.pl
There is a Win32 function, Find, that can look for files, but it only
searches the INC directories, so it is not reliable.
Any ideas, please.