|There's more than one way to do things|
If you modify svsinghs step 10 as follows:
Then the name of the directory that you right-clicked on to run the script will be supplied to the script as $ARGV.
A word of caution though. The path supplied is one of those dratted shortened thingies. It's been so long since I encountered one of these that I forgot what they are called?. These work okay for many purposes, but are likely to confuse some things. There's probably a simply way of retriving the expanded version from the shortened one, but I haven't looked that up yet.
Examine what is said, not who speaks."Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
In reply to Re: Re: (Not Quite Perl) Running Scripts from Right-Click Context Menu in Windows