vbs中获取脚本当前路径的2个方法
来源:懂视网
责编:小采
时间:2020-11-27 20:26:33
vbs中获取脚本当前路径的2个方法
vbs中获取脚本当前路径的2个方法:方法一:currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path方法二:currentpath = createobject("Scripting.FileSystemObject").GetFi
导读vbs中获取脚本当前路径的2个方法:方法一:currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path方法二:currentpath = createobject("Scripting.FileSystemObject").GetFi

方法一:
currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path
方法二:
currentpath = createobject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path
更多vbs中获取脚本当前路径的2个方法相关文章请关注PHP中文网!
vbs中获取脚本当前路径的2个方法
vbs中获取脚本当前路径的2个方法:方法一:currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path方法二:currentpath = createobject("Scripting.FileSystemObject").GetFi