Tag: tutorial
The following script snippet is handy at checking whether a folder exists or not at Window Script Hosting Environment using VBScript. Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FolderExists("C:\FSO") Then Set …
post talks about the variables scopes in Javascript. Here, we will turn to VBScript for similar investigation upon the variable scopes. There is no closure (inner function) in VBScript, …
Windows Script Host (WSH) is powerful. Every windows since Win95 come with default installation of WSH and two languages are supported, JScript (Microsoft’s implementation of Javascript) and VBScript. Creating …
On 64-bit Windows, we have two different sets of Window Scripting Host (WSH), 32-bit or 64-bit. The defaults are located at C:\Windows\System32, where cscript.exe or wscript.exe (with GUI, e.g. …
Previous tutorials on node.js could be found at , , . Reading files is easy in node.js via the package fs. The following shows the straightforward procedure in event-driven model to read a text file …