Re: long filenames with command_line

new topic     » goto parent     » topic index » view thread      » older message » newer message

Dan,
I'm not aware of any way to get drag-and-drop to use long filenames.  But
you *can* take the short filename that is passed and tell Windows to convert
it to the long filename equivalent with the GetLongPathName function.
Joe

-----Original Message-----
From: Euphoria Programming for MS-DOS
[mailto:EUPHORIA at LISTSERV.MUOHIO.EDU]On Behalf Of Dan Ferguson
Sent: Thursday, January 27, 2000 8:59 AM
To: EUPHORIA at LISTSERV.MUOHIO.EDU
Subject: long filenames with command_line


I have created a WIN32 program that uses the command_line function to get
filenames from windows 95/98 for Drag-n-Drop operation.  It works fine
except that I only get the short (~1) filenames from command_line. If I
manually type the command from a "run" prompt or a DOS window it keeps the
long filename.  But with the Drag-n-Drop, I lose it.   Is there a way to
get the long filenames to work with the Drag-n-Drop method so that the
output files that are created by my program can use filenames based on the
_long_ filenames of the input files?

Thanks.
Dan Ferguson

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu