Closed Bug 280528 Opened 20 years ago Closed 12 years ago

"CurProcD" returned as short file name on Windows XP

Categories

(Core :: XPCOM, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bugzilla, Unassigned)

Details

if I have something like: DirIO.get("CurProcD").path.toLowerCase(); I get something like: <c:\progra~1\mozilla\nightly\mozill~1\> why dont I get: <c:\program files\mozilla\nightly\mozilla firefox\>
why should you?
I just thought that when I'm on a OS that supports LFN I'd get a LFN. The problem is that I'm detecting applications from my extension and would then like to excluded the current running browser. Basically I end up comparing this: <c:\program files\mozilla\nightly\mozilla firefox\firefox.exe> with DirIO.get("CurProcD").path.toLowerCase(); <c:\progra~1\mozilla\nightly\mozill~1\> and they dont match is there a way to get the LFN from a path?
You should probably be using nsIFile.equals()
Assignee: dougt → nobody
QA Contact: xpcom
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.