方法一:
代碼如下:
currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path
方法二:
currentpath = createobject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path
更多信息請查看IT技術專欄
2026上岸·考公考編培訓報班