xplorer2 or Agent Ransack bug

Support for xplorer² free lite version

Moderators: fgagnon, nikos, Site Mods

ckit
Silver Member
Silver Member
Posts: 269
Joined: 2004 Jun 10, 12:24

xplorer2 or Agent Ransack bug

Post by ckit »

When I'm in the C:\ folder and press CTRL+F it opens Agent Ransack in C:"\ which is wrong cause the " shouldn't be there. If I try it on "C:\Program Files" it works fine.

Heres my registry entry for xplorer2:
szExtFindFiles
"C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe" -d "%s"

Is this a bug with Agent Ransack or xplorer2?
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

From a DOS prompt, I tried the equivalent command-line startup commands to agent ransack and discovered that 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).

The trailing \ gets passed from x2 in %s to distinguish between the root of a drive [d:\], and the current directory (folder) on the drive [d:].
Not only does Agent Ransack not properly resolve this special case for trailing \ but it also fails to recognize [d:] as other than the drive root.

Try experimenting with it yourself at the DOS prompt to see. :)

----------
PS - AR looks nice a very nice search app, with general expressions & everything. I hadn't run into it before, but the search tool discussions & your question aroused my curiosity, so I downloaded this evening & checked it out.
Unfortunately, that would be another tool to learn to make full use of it, & for me, the search in x2-Pro does what I need, so I'll be sticking with that in my workaday world. ;)
ckit
Silver Member
Silver Member
Posts: 269
Joined: 2004 Jun 10, 12:24

Post by ckit »

Thanks fgagnon for checking it out. The workaround for this bug seems to be right clicking on C:\ and using Agent Ransack's shell extension feature. After that C:\ appears without the " :)