Mail Archives: djgpp/2003/08/27/15:04:10
> From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
> Newsgroups: comp.os.msdos.djgpp
> Date: Tue, 26 Aug 2003 21:30:10 CDT
>
> > I have written a utility that operates on a source file and creates a new
> > target file in the same directory. My OS is Win2K.
> > To use my program, I choose the source file with Disk Explorer, drag it onto
> > the desktop, and drop it onto a link to my DJGPP-compiled program. The
> > program operates and creates a new file with the same path and file name as
> > the source, but with a different extension - only the file name gets
> > shortened from
>
> > PathName\MyLongFileName.EFT to
> > PathName\MyLong~1.EFT
>
> This is probably a feature of the drag/drop interface. It sees the image
> is a DOS image, and assumes it doesn't support short names, so helpfully
> sends the short name.
Yes, this is a misfeature of Windows' interface with DOS programs.
- Raw text -