Mail Archives: djgpp/1999/05/13/19:52:32
Eli Zaretskii wrote:
> On Wed, 12 May 1999, Edward F. Sowell wrote:
> > MFC has a GetShortPathName() function that, obviously, converts a
> > path with long file names, spaces, etc to the 8.3 format. This is
> > often needed because some functions don't accept the funny file
> > names... e.g., spawnxx().
>
> You don't need this in DJGPP: when you call `spawnXX', the DJGPP
> version automatically converts the long file name to the short one
> before passing it to DOS.
That's not really 100% true. I haven't checked, but I'm guessing that
spawnXX just truncates to 8.3 format. What about NameNumericTail? Also,
there are ways to convince DOS 7.x to make a 8.3 filename that isn't just a
simple truncation or a numeric tail of a long filename. I don't think spawnXX
would work under these conditions.
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT HotMail DOT com
ICQ: 32959047
- Raw text -