Reply-To: "Jorge Ivan Meza Martinez" From: "Jorge Ivan Meza Martinez" To: Subject: a filenames problem Date: Thu, 16 Jul 1998 16:27:53 -0500 Message-ID: <01bdb100$9b7e3d60$LocalHost@default> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Precedence: bulk Hello, I want to develop a little program that accept parameter from command line, but for be used with drag and drop of windows95; 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 ? I mean the FAT or something must know that "escrit~1" is indeed "escritorio", does exists a method to change this ? if not I was thinking in, knowing the path, read the filenames of this dir until find the "escrit"~1 casualities and analyze which one depending the number after the '~'. Ideas ? how can I read this filenames with DJGPP ? would be useful if the read is sorted ( by name for example ) and its better if its a portable way. 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. thank you, jorge ivan meza martinez http://members.xoom.com/THP jimeza AT usa DOT net