Tag: javascript
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 …
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 …
February 9, 2013
beginner, client-server, http, I/O File, implementation, internet, javascript, network, nodejs, programming languages, sockets, tcp/ip
Previous tutorials on node.js could be found here: We have learned to create a http server by using require(‘http’) and http.createServer(…).listen(port). The node.js is based on Javascript and event-driven model, which means that the events happen later …
Javascript is the world’s most used programming language nowadays. Your Javascript application can attract billions of audiences and there is no other programming language can achieve a similar scale. …