Terry Pinnell <> wrote:
<resent, cause I screw's up>
|>I used to know some trick for converting a long path name in XP to its
|>'DOS' short name equivalent. It was something to do with dragging it
|>or pasting it into an XP Command Prompt window. But I'm darned if I
|>can recall it now. Anyone able to help please? Objective is to get
|>this into short form, as I think the old program I'm working with
|>expects its INI file to contain a reference in that form.
|>
|>C:\Program Files\Mozilla Firefox\firefox.exe
The old fashion way count over 6 characters and add ~1
c:\progra~1\Mozill~1\firefox.exe
If there is a space - leave it out
C:\Program Files\ACD Systems\ACDSee\acdss.exe
becomes
C:\Progra~1\ACDsys~1\ACDSee\acdsee.exe
----
I cut out "(but it counts as one character)" trying to justify the 7
:}
--
http://urbanlegends.about.com/b/a/218350.htm#more