ASP BuildPath 메서드
❮ 완전한 FileSystemObject 개체 참조
BuildPath 메서드는 기존 경로에 이름을 추가합니다.
통사론
[newpath=]FileSystemObject.BuildPath(path,name)
Parameter | Description |
---|---|
path | Required. The path to append a name to |
name | Required. The name to append to the path |
예시
<%
dim fs,path
set fs=Server.CreateObject("Scripting.FileSystemObject")
path=fs.BuildPath("c:\mydocuments","test")
response.write(path)
set fs=nothing
%>
Output:
c:\mydocuments\test
❮ 완전한 FileSystemObject 개체 참조