# Re: 查一下

Posted by Eric Tseng on January 15, 1999 at 14:03:49:

In Reply to: 查一下 posted by cww on January 14, 1999 at 10:34:35:

: http://sunh.hosp.ncku.edu.tw/~cww
: 中 档案/disk/目录区 有文章
若要取得绝对路径长档名，用GetLongPathName(),只要传
入8.3路径，该函式会传回长路径，并会检查该路径是否
存在!
Declare Function GetLongPathName Lib "kernel32" Alias "GetLongPathNameA" (ByVal lpsPath As String, ByVal lplPath As String, ByVal nBuffer As Long) As Long

另GetFullPathName()的功能不应该是只要传入档名，
即可取得路径?为何传入任何档名，皆传回
"C:\MY DOCUMENTS"?

Follow Ups:

- Re: 查一下 cww 16:25:11 1/15/99 (1)
  - Re: 查一下 Eric Tseng 21:35:53 1/16/99 (0)