ASP BuildPathメソッド


FileSystemObject 对象参考手册完全なFileSystemObjectオブジェクトリファレンス

BuildPath メソッドは既存のパスに名前を追加します。

構文

[newpath=]FileSystemObject.BuildPath(path,name)

パラメータ 説明
path 必須です。名前を追加するパスを指定します。
name 必須です。パスに追加する名前です。

例

<%
dim fs,path
set fs=Server.CreateObject("Scripting.FileSystemObject")
path=fs.BuildPath("c:\mydocuments","test")
response.write(path)
set fs=nothing
%>

出力:

c:\mydocuments\test


FileSystemObject 对象参考手册完全なFileSystemObjectオブジェクトリファレンス その他の拡張