Re: Help: How do I convert LFN to truncated 8.3?
- Posted by Brian Broker <brian_broker at yahoo.com> Jan 17, 2006
- 547 views
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