[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== Long Filenames in Choosefile Utility (OpenInsight Specific) ==== === At 30 JUN 1999 01:42:06PM Bruce Lee wrote: === {{tag>"OpenInsight Specific"}} Hello, How can the Choosefile utility be used to display Long Filnames under Windows 95/98. My files currently display the DOS 8 limit length file with the tilde symbol. Thanks Bruce. ---- === At 30 JUN 1999 02:19PM dsig@teleport.com wrote: === Bruce, Unless there has been a change in the newest release OI does not support long file names. This has been asked for in the past because user use other tools that can do. But I have always been told that it just can't do it. dsig@teleport.com onmouseover=window.status=imagine ... ;return(true)" David Tod Sigafoos ~ SigSolutions Cell: 503-341-2983 dsig@teleport.com ---- === At 02 JUL 1999 02:49PM Cameron Revelation wrote: === Bruce, [i]How can the Choosefile utility be used to display Long Filnames under Windows 95/98. My files currently display the DOS 8 limit length file with the tilde symbol.[/i] There is no easy way to do that. The file names are actually 8.3, but Windows keeps another two files in each directory that store information like a mapping to long names. I have used brute force to pipe a directory listing and parse it, but that is a real hack: utility("RUNWIN", "command.com /c dir /a-d c:\windows ] tmp.txt", -1) osread rec from tmp.txt ... The -1 (or is it -2 or ... ?) hides the dos box and runs it modally. There are low-level interrupt-based translation functions for 8.3 to LFN and vice-versa. I was hoping to get some support into OI (like the extra stuff added to Utility) but it is all assembly-level work .... You can search the MSDN portion of Microsoft's site for information if you want to try to code it. Cameron Purdy Revelation Software [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=C2F2A06BC6CC26F5852567A000613D01|View this thread on the forum...]]