方法一:
代码如下:
currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path
方法二:
currentpath = createobject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path
更多信息请查看IT技术专栏
2025公考·省考培训课程试听预约报名