Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- can the script find itself?
April 6, 2008, 3:53 pm
rate this thread
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".
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.
- » FAQ 8.27 What's wrong with using backticks in a void context?
- — Previous thread in » PERL Discussions