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

VBS教程:方法-CreateFolder 方法

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

CreateFolder 方法

創(chuàng)建文件夾。

object.CreateFolder(foldername)

參數(shù)

object

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

foldername

必選項(xiàng)。字符串表達(dá)式,指明要?jiǎng)?chuàng)建的文件夾。

說(shuō)明

如果指定的文件夾已經(jīng)存在,則會(huì)出現(xiàn)錯(cuò)誤。

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

 Function CreateFolderDemo   Dim fso, f  Set fso = CreateObject("Scripting.FileSystemObject")  Set f = fso.CreateFolder("c:\New Folder")  CreateFolderDemo = f.PathEnd Function

相關(guān)文章

最新評(píng)論