home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 July / Chip_1997-07_cd.bin / sharewar / delphi / utility / util4 / popis.txt < prev   
Text File  |  1997-05-13  |  1KB  |  30 lines

  1. Program, kter² umo₧≥uje pracovat star²m aplikacφm s dlouh²mi jmΘny.
  2. ===================================================================
  3.  
  4.  
  5. Purpose: 
  6. LongToShort is a command line utility that lets you use long 
  7. filenames with older applications that don't support them.
  8.  
  9. Usage:
  10. LongToShort is a mere 61 lines of code, including comments. 
  11. It takes the 16-bit program name and long filename as parameters. 
  12. So if, for example, you're still using Charles Petzold's 
  13. BROWSE utility, and you want to browse a file called MysteryFile, 
  14. you'd type:
  15.  
  16.              LTOS browse MysteryFile 
  17.  
  18. LongToShort takes care of translating MysteryFile into a short 
  19. filename that BROWSE can handle.
  20.  
  21. The exact syntax for LongToShort is
  22.  
  23.     LTOS Program.exe This is a long filename.ext 
  24.  
  25.     LTOS Program.exe "This is a long filename.ext" arg1 arg2... 
  26.  
  27. If command line arguments are added after the long filename, 
  28. the long filename must be in quotation marks. Note that 
  29. LongToShort will retain the long filename even if you make 
  30. changes to it from within a 16-bit editor and save the file.