欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

vbs中獲取腳本當(dāng)前路徑的2個(gè)方法

 更新時(shí)間:2014年08月14日 10:58:12   投稿:junjie  
這篇文章主要介紹了vbs中獲取當(dāng)前腳本所在路徑的2個(gè)方法,本文中的方法都是通過FileSystemObject來實(shí)現(xiàn),需要的朋友可以參考下

方法一:

復(fù)制代碼 代碼如下:

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

方法二:
復(fù)制代碼 代碼如下:

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

相關(guān)文章

最新評(píng)論