方法一:
代碼如下:
currentpath = createobject("Scripting.FileSystemObject").GetFolder(".").Path
方法二:
代碼如下:
currentpath = createobject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path
更多信息請(qǐng)查看IT技術(shù)專(zhuān)欄
版權(quán)所有:易賢網(wǎng)