方法一:
currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path
方法二:
currentpath = createobject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path
更多文章请关注《万象专栏》
转载请注明出处:https://www.wanxiangsucai.com/read/cv164675