同樣vbs代碼 為什么獨(dú)立就能運(yùn)行 在金字塔里面就運(yùn)行不了 [金字塔]
- 咨詢內(nèi)容:
Function FilesTree(sPath) '遍歷一個(gè)文件夾下的所有文件夾文件夾 Set oFso = CreateObject("Scripting.FileSystemObject") Set oFolder = oFso.GetFolder(sPath) Set oSubFolders = oFolder.SubFolders Set oFiles = oFolder.Files For Each oFile In oFiles WScript.Echo oFile.Path 'oFile.Delete Next For Each oSubFolder In oSubFolders WScript.Echo oSubFolder.Path 'oSubFolder.Delete FilesTree(oSubFolder.Path)'遞歸 Next Set oFolder = Nothing Set oSubFolders = Nothing Set oFso = Nothing End Function FilesTree("F:\hangyedaimashiyan") '遍歷
- 金字塔客服:
WScript 不是金字塔支持的對(duì)象。
金字塔的VBS引擎中,可用的對(duì)象請(qǐng)參考 幫助菜單 -》VBA編程信息
- 用戶回復(fù):
ok
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容