www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/16/17:35:31

Reply-To: "Jorge Ivan Meza Martinez" <jimeza AT usa DOT net>
From: "Jorge Ivan Meza Martinez" <jimeza AT usa DOT net>
To: <djgpp AT delorie DOT com>
Subject: a filenames problem
Date: Thu, 16 Jul 1998 16:27:53 -0500
Message-ID: <01bdb100$9b7e3d60$LocalHost@default>
MIME-Version: 1.0

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019