Mail Archives: djgpp/2009/04/11/01:04:01
The standard way to handle long file names is first 8 characters of long
file name plus a (.) plus a (~) plus a unique two digit number where first
eight characters of long file name are identical inside of a single
directory. Perhaps this capability may be under short file names in some
library of the compiler in use I don't know.
On Thu, 12 Mar 2009, dos-man 64 wrote:
> Forgive me if this is common knowledge, but I've always used borland 3
> for ms-dos programming. I've just used gcc to recompile one of my old
> dos directory changing utilities. I had a little bit of trouble with a
> few of the functions (chdir,getdisk,getcwd), but I worked through
> that. It took a few hours, hehe.
>
> At any rate, this version of the program seems just as clueless about
> long filenames as my old borland executable. I'm passing a value of
> \program files\ to chdir and it doesn't seem to be able to change the
> directory. My readings through the docs seemed to indicate that this
> compiler generates dos-based executables that can handle long file
> names.
>
> Also, is there some way to shrink down these executables. The exe is
> over 300kb. That's six times bigger than the executable that borland's
> compiler spit out.
>
> Thanks,
> dos-man
>
>
- Raw text -