Announcement

Collapse
No announcement yet.

LFN to SFN

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • LFN to SFN

    Does anybody have a working sample of Long FileName to short file name code?

    Just a basic example that I can build on would be awesome...


    Thanks,

    Scott

    -------------
    Scott
    mailto:[email protected][email protected]</A>
    Scott Turchin
    MCSE, MCP+I
    http://www.tngbbs.com
    ----------------------
    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

  • #2
    Code:
       #Compile Exe
       #Register None
       #Dim All
       #Include "win32api.inc"
    
       Function PbMain
         Dim ShortName As Asciiz * 64
         GetShortPathName "G:\Program Files", ShortName, 63
         Msgbox ShortName
       End Function

    [This message has been edited by Semen Matusovski (edited March 30, 2000).]

    Comment

    Working...
    X