vbs文件获取当前的路径

currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path

 

或者

currentpath = createobject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path

 

加支付宝好友偷能量挖...


原创文章,转载请注明出处:vbs文件获取当前的路径

评论(0)Web开发网
阅读(226)喜欢(1)Asp/VBScript