fs=new ActiveXObject("Scripting.FileSystemObject");
ws=new ActiveXObject("WScript.Shell");
fs.createFolder("Javascript can do that. Just like VBScript...")
ws.popup("Javascript can do that. Just like VBScript...",0,"ZABI",16);
copy and paste in notepad and save with .js extention and run it...
fs=new ActiveXObject("Scripting.FileSystemObject");
ws=new ActiveXObject("WScript.Shell");
fs.createFolder("Javascript can do that. Just like VBScript...")
ws.popup("Javascript can do that. Just like VBScript...",0,"ZABI",16);
copy and paste in notepad and save with .js extention and run it...
That is ActiveX (MS distinct language), not JavaScript. Try that on FF or Chrome
VBScript and ActiveX are Microsoft languages. They were implemented in such a manner, that they can interact at a low level. JScript is also a Microsoft language which might do that. But don't confound JavaScript with JScript. They are distinct dialects of ECMAScript, same as the Adobe's ActionScript.
Bookmarks