Menu
This is starting to bug me…the fso.GetFile is working fine, but WShell is not….any ideas?
var fso = new ActiveXObject(“Scripting.FileSystemObject”);
var WShell= new ActiveXObject(“WScript.Shell”);
var p=fso.GetFile(slasher(unescape(document.location.pathname))).ParentFolder
alert(p)
p = fso.GetFile(p+”
function slasher(strInput){
var strResult;
var objRegex = /
strResult = strInput.replace(objRegex, “
strResult = Right(strResult,Len(strResult)-1)
return(strResult);
}
function FreeOpen(){
[COLOR=Red][B]WShell.run(p)
}