Path when open from context menu

Help with setting up and configuring custom user tools in UltraEdit (based on command line input)

Path when open from context menu

Postby rwt1944 » Mon Feb 21, 2005 7:39 pm

I have a perl file and included modules in the same directory, and my include path @INC includes the current directory. If I open the perl file using the 'open file' icon, perl finds my included module, but if I open the perl file using the right click context menu, I get a message that the included module could not be found in @INC. The tool is configured with "%f" as the file path. What's happening here ?
User avatar
rwt1944
Newbie
 
Posts: 2
Joined: Mon Feb 21, 2005 12:00 am

Re: Path when open from context menu

Postby illico » Tue Feb 22, 2005 4:43 am

Do you configure your tool with the good Working Directory : %P or %p

You use %f but you can also use %n%e for the file PATH

I suggest you to use %n%e file PATH name and %P Working directory.
User avatar
illico
Basic User
Basic User
 
Posts: 12
Joined: Thu Oct 14, 2004 11:00 pm
Location: FRANCE

Re: Path when open from context menu

Postby rwt1944 » Tue Feb 22, 2005 8:03 pm

Thanks, %P works great
User avatar
rwt1944
Newbie
 
Posts: 2
Joined: Mon Feb 21, 2005 12:00 am


Return to Custom User Tools/Tool Configuration