ÄúµÄλÖãº
Ñ°ÃÎÍøÊ×Ò³
£¾
±à³ÌÀÖÔ°
£¾
VBScript
£¾
VBScript
objects
constants
operators
statements
functions
properties
methods
All Methods
FileSystemObject Object
METHOD: FileSystemObject.BuildPath
[newfullpath = ]
object.
BuildPath
(path, name)
This method is used to append a name onto an existing path. The format of the new path is 'existingpath\name'.
Code:
<%
dim filesys, newfullpath
set filesys=CreateObject("Scripting.FileSystemObject")
newfullpath = filesys.BuildPath(c:\inetpub\wwwroot, "images")
%>
Output:
"c:\inetpub\wwwroot\images"