<?xml version="1.0" encoding="windows-1252"?>
<node id="277702" title="Re: (Not Quite Perl) Running Scripts from Right-Click Context Menu in Windows" created="2003-07-24 17:36:55" updated="2005-07-07 15:16:36">
<type id="11">
note</type>
<author id="163683">
revdiablo</author>
<data>
<field name="doctext">
&lt;p&gt;This is very cool. It seems to work fine on WinXP as well. The only question I have is, how do you find out which directory was right clicked on to run the script? I tried using Cwd, but that gives me the directory one level up. (i.e. when I right click on the directory &lt;code&gt;c:\devel\perl\test&lt;/code&gt; and select my context-menu script, it gets Cwd as &lt;code&gt;c:\devel\perl&lt;/code&gt;). Any ideas?&lt;/p&gt;</field>
<field name="root_node">
277596</field>
<field name="parent_node">
277596</field>
</data>
</node>
