Closed
Bug 280528
Opened 20 years ago
Closed 12 years ago
"CurProcD" returned as short file name on Windows XP
Categories
(Core :: XPCOM, defect)
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\>
Comment 1•20 years ago
|
||
why should you?
Reporter | ||
Comment 2•20 years ago
|
||
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?
Comment 3•20 years ago
|
||
You should probably be using nsIFile.equals()
Updated•19 years ago
|
Assignee: dougt → nobody
QA Contact: xpcom
Updated•12 years ago
|
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.
Description
•