Author Johnny Josefsson on
February 19, 2010 |
Print |
Bookmark
function getScriptPath()
{
var strScriptPath = WScript.ScriptFullName;
var strScriptName = WScript.ScriptName;
var strGetScriptPath = strScriptPath.replace(strScriptName, "");
return strGetScriptPath;
}