Loading ...
Sorry, an error occurred while loading the content.

37568Re: wish return DOS (short) form of NAME

Expand Messages
  • George V. Reilly
    Mar 3, 2003
    • 0 Attachment
      > Bram>Is there always a short name? E.g., on NTFS file systems.

      In general, no, Windows file systems are not required to provide short
      names/long names. NTFS normally provides short filenames, but this can be
      disabled via the registry. The best way to find out the short/long names is
      to use GetShortPathName [1] and GetLongPathName [2] (be sure to read the
      note about the Win95 and NT4 implementation for GLPN).

      [1]
      http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/getshortpathname.asp
      [2]
      http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/getlongpathname.asp


      --
      Remember, Information is not knowledge; Knowledge is not Wisdom;
      Wisdom is not truth; Truth is not beauty; Beauty is not love;
      Love is not music; Music is the best.
      -- Frank Zappa
      (Get Witty Auto-Generated Signatures from http://SmartBee.org)
      /George V. Reilly mailto:george@...
      http://george.reilly.org
      Read my blog: http://erablog.net/blogs/george_v_reilly/
    • Show all 6 messages in this topic