big error still not fixed

Support for xplorer² free lite version

Moderators: fgagnon, nikos, Site Mods

DeathAxe
New Member
Posts: 1
Joined: 2006 Aug 04, 15:59

big error still not fixed

Post by DeathAxe »

Hello, there has been a bug in this for quite some time now. It is not fixed... I am wondering if it is fixed on the pay for version and we free users are loosing out on a fix?

anyways.. some programs (not all but alot) think that they are being launched from the xplorer2 install folder when they are opened. Programs that use other files to operate (ini files dlls etc) batch files also have this problem when being opened from xplorer2.

Do you have a fix for this? it is annoying as I have to use win explorer for these files or make a shartcut. The whole point in this is replacing win explorer isnt it?

Thanks. :) other than that, good bit of software.
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

on the Tools | Options... | Advanced tab
uncheck Don't lock browsed folder
jacobsee
Member
Member
Posts: 9
Joined: 2006 Sep 22, 20:53

Post by jacobsee »

I have this same problem and the "Don't lock browsed folder" option doesn't seem to affect it.

I have a batch file where the first thing I do is to set the current directory path to a variable with:

set currentDir=%CD%
echo The current directory is %currentDir%

With Windows Explorer this works fine, but with x2 my path always ends up set to "C:\Program Files\xplorer2\snap"

any other ideas?
jacobsee
Member
Member
Posts: 9
Joined: 2006 Sep 22, 20:53

Post by jacobsee »

i am using 1.6.0.1 LITE
jacobsee
Member
Member
Posts: 9
Joined: 2006 Sep 22, 20:53

Post by jacobsee »

i guess I should also mention that I am using Windows 2000 SP4
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

it depends how you set up %CD% in the first place
jacobsee
Member
Member
Posts: 9
Joined: 2006 Sep 22, 20:53

Post by jacobsee »

ok...could you elaborate?

I'm running a batch file out of windows explorer or xplorer2 (lite) by double clicking it.

what do you mean by setting up %CD%?  that's a built in windows environment variable right?
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i didn't know about it but you're right. When i do a $echo %CD% from the addressbar it shows me the current folder, like i expect it to
jacobsee
Member
Member
Posts: 9
Joined: 2006 Sep 22, 20:53

Post by jacobsee »

ok, when I do this from my x2 addressbar I get a command windows opened with the C:\Program Files\xplorer2_lite\snap displayed and the prompt set to that directory as well.

The only place i could find this in the registry is the Editor2/szInitialFolder key but removing this key doesn't affect this behavior.

I'm actually on my WinXP Pro SP2 laptop now but am getting the same behavior
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i can't see how editor2 a program external to x2, can affect it's path! Double check your "don't lock browsed folder setting" (it should be cleared) and if that doesn't fix it... i give up! :shrug:
jacobsee
Member
Member
Posts: 9
Joined: 2006 Sep 22, 20:53

Post by jacobsee »

well, since at least one other person has seen this I don't think I"m crazy...i did double check the setting and it is cleared but I continue to seet his behavior.

if you don't have this on your list of bugs to fix, better writer 'er down
jacobsee
Member
Member
Posts: 9
Joined: 2006 Sep 22, 20:53

Post by jacobsee »

or if you explain to me why the "don't lock folder" setting would cause this kind of thing it might give me an idea of other things to check for on my system....
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

since the other guy got silent after fred's recommendation, we'll have to assume that for his case the clearing of the "folder lock" setting did the trick, so you're on your own there ;)

when x2 "locks the folder" it means it does a SetCurrentDirectory on each active folder you enter, so the last one is always "locked" ie can't be deleted

try a $dir in the addressbar and see which contents you get
jacobsee
Member
Member
Posts: 9
Joined: 2006 Sep 22, 20:53

Post by jacobsee »

$dir gives me the same results as $echo %CD% but playing around just now I did discover that I can occasionally get the current directory set correctly, just not very often.  

once I get it to persist as some other folder than the xplorer2/snap that it defaults to it will get stuck on that new folder for a while, no matter how many other folders I open or navigate to.

still playing with it to try to get something reproducible...
jacobsee
Member
Member
Posts: 9
Joined: 2006 Sep 22, 20:53

Post by jacobsee »

ok, I think i found the problem.

turning off "extract custom icon overlays" fixes my problem.  i switched to 20 different directories in serveral different ways and $echo %CD% always gave the right current directory

when i turned the custom icon overlays back on, the problem was back.  i use TortoiseSVN 1.3.5 for version control so they must be doing something with the current directory when it updates those icons on all my versioned files.

i'll just use windows explorer to browse my versioned files and use x2 with overlays turned off for everything else unless you have any other ideas.


thanks for sticking with me nikos, cheers
ej