var shellActiveXObject = new ActiveXObject("Scripting.FileSystemObject"); alert(shellActiveXObject.FileExists('C:/Windows/notepad.exe'))
var objshell = new ActiveXObject("Wscript.Shell"); var strfolderpath = objshell.ExpandEnvironmentStrings("%windir%");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)