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
Agent Ransack and v1.4.0.1
Moderators: fgagnon, nikos, Site Mods
-
- Site Admin
- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
I don't use Agent Ransack, so can only point you to another thread which may (or may not) offer a clue.
But if the same syntax worked ok on the previous version, it sounds like a bug has crept in.

But if the same syntax worked ok on the previous version, it sounds like a bug has crept in.
-
- Member
- Posts: 11
- Joined: 2004 Aug 15, 23:32
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!
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!
-
- Site Admin
- Posts: 16296
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
- Member
- Posts: 11
- Joined: 2004 Aug 15, 23:32
-
- New Member
- Posts: 6
- Joined: 2005 Jul 30, 03:00
- Location: Uruguay
Agent Ransack and V 1.4.0.1
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!
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!
-
- Member
- Posts: 14
- Joined: 2005 Feb 26, 22:50
----------------------------------------
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.
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
howardb at california dot com