Re: Help: How do I convert LFN to truncated 8.3?

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

Vincent wrote:
> 
> Hello Euphorians,
> 
> Does anyone here how to convert long file name paths to truncated DOS 8.3
> names
> using Euphoria code? I want to supply a LFN string and use a function that
> would
> return the truncated 8.3 equivelent.
> 
> Eg:
> 
> Input = "C:\\Documents and Settings\\Vincent\\Foo.e" (LFN)
> Output = "C:\\DOCUME~1\\VINCENT\\FOO.E" (DOS 8.3)
> 
> I dont wish to use a LFN library in this case for compatability reasons.
> 
> Thanks in advance for any help.
> 
> 
> Regards,
> Vincent

Hi Vincent,

It's amazing how many resources a search will turn up...  For Windows questions,
I add site:microsoft.com to my searches.

http://www.microsoft.com/resources/documentation/Windows/XP/all/reskit/en-us/prkc_fil_rbrx.asp

Is this the kind of info you are looking for?  Or are you looking to know what
Windows would do with any given file on any given version with any given path
containing any given existing files without simply using the Windows API?

-- Brian

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

Search



Quick Links

User menu

Not signed in.

Misc Menu