szler 当前离线
列兵
Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.CreateFolder("C:\Users\"&Name&"\desktop\fso")复制代码
yu2n 当前离线
上尉
Option Explicit Dim wso, sDesktop Set wso = CreateObject("WScript.Shell") sDesktop = wso.SpecialFolders("Desktop") '“桌面”文件夹位置 wso.Run "cmd /c md """ & sDesktop & "\fso""", 0, True Msgbox sDesktop & "\fso 创建成功!" , vbInformation, "提示"复制代码
TOP
Nsqs 当前离线
少尉
set ws=CreateObject("WScript.Shell") set fso=CreateObject("Scripting.FileSystemObject") fso.createfolder ws.SpecialFolders(4)&"\fso"复制代码