spath=replace(wscript.scriptfullname,wscript.scriptname,“”)
https://www.tek-tips.com/viewthread.cfm?qid=1378749