🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.visualbasic
Article #602

Re: 短いファイル名の取得

#602
From: Takeshi Shigihara
Date: Fri, 20 Feb 1998 00:00
20 lines
1441 bytes
DWORD GetShortPathName(
  LPCTSTR lpszLongPath,  // pointer to a null-terminated path string
  LPTSTR lpszShortPath,  // pointer to a buffer to receive the 
                         // null-terminated short form of the path
  DWORD cchBuffer        // specifies the size of the buffer pointed 
                         // to by lpszShortPath
);


椎名正昭 wrote:
> VB5を使用して開発をしているのですが、VB上からロングファイルネームの
> ファイルの8.3形式の短いファイル名(DOS窓で表示されるような)を取得する
> にはどうしたら良いのでしょうか?
> 一通りVBの関数やVCのヘルプを調べたのですが、どうすればいいのか
> 分かりません。

----- Takeshi  Shigihara
      Office   cygnus@masternet.or.jp
      Home     cygnus@po.jah.ne.jp -----
Technical Details
Message-ID: <34ECF290.3145FC9@masternet.or.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6ciorn$ge3$1@fu.bekkoame.or.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 105c2e,bbaf628c7a62050
X-Google-Attributes: gid105c2e,public
From: Takeshi Shigihara <cygnus@masternet.or.jp>
Subject: Re: 短いファイル名の取得
Date: 1998/02/20
Message-ID: <34ECF290.3145FC9@masternet.or.jp>
X-Deja-AN: 326805618
Content-Transfer-Encoding: 7bit
References: <6ciorn$ge3$1@fu.bekkoame.or.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
X-Complaints-To: ap-net@asahi-net.or.jp
X-Trace: neptune.asahi-net.or.jp 887943992 33194 (None) 202.224.45.147
Organization: MasterNet
Newsgroups: fj.lang.visualbasic