方法一:
currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path
方法二:
currentpath = createobject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path
关键字词:
方法一:
currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path
方法二:
currentpath = createobject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path