Date: Sun, 19 Jul 1998 12:35:49 +0300 (IDT) From: Eli Zaretskii To: Jorge Ivan Meza Martinez cc: djgpp AT delorie DOT com Subject: Re: a filenames problem In-Reply-To: <01bdb100$9b7e3d60$LocalHost@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 16 Jul 1998, Jorge Ivan Meza Martinez wrote: > I want to develop a little program that accept parameter from command line, > but for be used with drag and drop of windows95; I don't think you can use drag-and-drop with DJGPP programs. > my program would receive > the file like its path and will call other program with this file, the > problem is that windows95 dnd sends short file name path. > > is there any way to convert with DJGPP to convert the short~.nam to > the_real_long.name ? Use the library function `_truename'. It will return the full long path name for any argument it gets. > sorry if its off topic but I am new with DJGPP, I used BC31 and I don't know > what new things has DJGPP, like how handle long file names. It's NOT off-topic. But if you need to look for certain issues in the library documentation, you could use the `s' (for Search) command of the Info browser. Looking for words like "LFN" or "long file name" will probably find what you need to know.