home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,497 of 2,978   
   Heinrich Wolf to All   
   Re: Long filename support in Windows Vis   
   22 Aug 07 20:26:11   
   
   From: invalid@invalid.invalid   
      
   Hi,   
      
   I'm not yet expirienced in Vista. But I wrote many tools in Pascal as   
   console applications and run them on Win XP.   
      
   Some of them I wrote in Turbo Pascal 5.5 . They are 16 bit apps and also run   
   on DOS. They accept only 8.3 filenames. If I want to pass a file with a long   
   filename to them, I must substitute that filename by the corresponding 8.3   
   abbreviation. If I put a shortcut to my app into the Windows SendTo folder,   
   then Windows is aware that this points to a 16 bit app and calls it with the   
   8.3 filename abbreviation. You can examine the dir entries at the cmd window   
   by dir /X. This will list both corresponding filenames, the long one and the   
   8.3 abbreviation. If your app writes to the given file, be careful, not to   
   delete and replace it. You would lose the long filename. Try to open for   
   append or random access. That might keep the long filename.   
      
   Others of my console applications are written in Delphi 5. That also is   
   Pascal language, but it compiles to 32 bit and has full access to the   
   Windows libraries and to long filenames. However they won't run on DOS or   
   Win 3.1 .   
      
   Kind regards   
   Heiner   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca