欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

VBS教程:方法-BuildPath 方法

 更新時(shí)間:2006年11月16日 00:00:00   作者:  

BuildPath 方法

向現(xiàn)有路徑后添加名稱。

object.BuildPath(path, name)

參數(shù)

object

必選項(xiàng)。應(yīng)為 FileSystemObject 對(duì)象的名稱。

path

必選項(xiàng)。要附加 name 的現(xiàn)有路徑??梢允墙^對(duì)或相對(duì)路徑且無(wú)需指定現(xiàn)有文件夾。

name

必選項(xiàng)。要附加到現(xiàn)有 path 的名稱。

說(shuō)明

僅在必要時(shí),BuildPath 方法在現(xiàn)有路徑與該名稱之間插入附加路徑分隔符。

下面例子舉例說(shuō)明如何使用 BuildPath 方法:

Function GetBuildPath(path)  Dim fso, newpath  Set fso = CreateObject("Scripting.FileSystemObject")  newpath = fso.BuildPath(path, "Sub Folder")  GetBuildPath = newpathEnd Function

相關(guān)文章

最新評(píng)論