Agent Ransack and v1.4.0.1

Support for xplorer² free lite version

Moderators: fgagnon, nikos, Site Mods

StarBrat
Member
Member
Posts: 11
Joined: 2004 Aug 15, 23:32

Agent Ransack and v1.4.0.1

Post by StarBrat »

Hi folks!

I can't get Agent Ransack to work with Xplorer2 anymore.. i have the correct syntax for the szExtFindFiles registry value, but i always get a "Access to <active folder> is denied"

actual szExtFindFiles setting:
C:\Program Files\Agent Ransack\AgentRansack.exe "%s"

i mean by <active folder> that Agent Ransack reports correctly whatever folder i have active....

Any clue?

Thanks
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

I don't use Agent Ransack, so can only point you to another thread which may (or may not) offer a clue. :shrug:

But if the same syntax worked ok on the previous version, it sounds like a bug has crept in.
StarBrat
Member
Member
Posts: 11
Joined: 2004 Aug 15, 23:32

Post by StarBrat »

Hi fgagnon.. nice to hear from you  :)

from the other thread..

"AR does not properly resolve the syntax for a trailing \ in the path string when surrounded by double quotes (as required for paths which include a space character)"

I never had any problems with the last 'lite' version... now I have the same problem when using quotation marks or not around the path to Agent Ransack... meaning, AR starts OK, but gives me that error msg..

maybe a buggered adaptation from Pro to Lite?
anyways, Xplorer2 still is king, and i can always right-click on a folder in the tree-pane to use AR....

Thanks for your answer!
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

according to that thread you must also use the -d command line option of AR, you can't just pass a path
StarBrat
Member
Member
Posts: 11
Joined: 2004 Aug 15, 23:32

Post by StarBrat »

Hi folks!


I'll be damned.. you are right Sir Niklos
Although i can't seem to remember if i did that before...

Sorry to have wasted your time.  All is well and fine now.

Thanks dudes
Hector
New Member
Posts: 6
Joined: 2005 Jul 30, 03:00
Location: Uruguay

Agent Ransack and V 1.4.0.1

Post by Hector »

Hi folks!

I have found a convenient workaround for the problem of the trailing \ in the path for AR.

After reading "another thread" as suggested by fgagnon, I set out to make the context menu work accordingly. I now can invoke AR from a right-click and get the proper results. The trick lies in that TWO different registry keys are required: one for Directory and another for Drive.

You must first create a suitable key in HKCR\Directory\shell and another in HKCR\Drive\shell. I used Search... in both. This is the label that will appear in the context menu. Feel free to use anything meaningful that you like. Now create a new command dword in each key and load the path of AR following the directions down below.

A sample syntax would be:

"C:\Program files\AgentRansack\AgentRansack.exe" -d "%1" (for Directory)

"C:\Program files\AgentRansack\AgentRansack.exe" -d %1 (for Drive)

Please note that %1 must be within quotes in the first case and no quotes are used in the second. The quote/no quote syntax makes all the difference in behaviour and you will get C:\ (or whatever) correctly if you want to search within a Drive. In the case of Directory the full path is passed to AR correctly all the time.

Nothing is perfect and there is a slight snag still unresolved: The trick does not work properly when right-clicking on My Computer. Couldn't find the reason why. Maybe somebody out there does.

Needless to say, the above is only possible with the context menu, as xplorer^2 Lite does not differentiate Drive from Directory (there is just one comand for the alternate find utility). IOW the Find button will keep on working as it did and add that annoying " to the Drive path.

Good luck!
hbschwartz
Member
Member
Posts: 14
Joined: 2005 Feb 26, 22:50

Post by hbschwartz »

----------------------------------------
Nothing is perfect and there is a slight snag still unresolved: The trick does not work properly when right-clicking on My Computer. Couldn't find the reason why. Maybe somebody out there does.
--------------------------------------------
Actually there is a third default besides ``folders'' and ``drives'' in the registry you need to set -- perhaps called ``disk'' or something to make xplorer2 the default for My Computer. There appears to be a respectable number of such keys, if you want to set xplorer2 as default for everything possible. Probably you can discover them by searching the registry with the keywords, explorer.exe and Default.

I discovered  an option (trick?) that makes xplorer2 readily available in every context menu that is related to drives, piles, or paths:  Just add a shortcut to xplorer2 to the folder,   C:\windows\SendTo

Any right-click context menu will now include xplorer2 in the Send To
menu. If your screen's items are drives, folders, or files just select
an item and choose sendTo. Poof -- xplorer2 comes up showing
the selected folder, etc. If a file is included, xplorer2 will open in
the parent folder, with the chosen file highlighted.
howard schwartz
howardb at california dot com