Category: windows scripting host
To run external program on local computer using WSH (Window Scripting Host), you can create an object WScript.Shell and invoke its Runmethod, e.g.: Dim Obj Set Obj = CreateObject("WScript.Shell") Obj.Run "notepad.exe" To …
Monte-Carlo algorithm is a generalized method that can be used in many applications. It is a randomize approach. To compute the mathematics constant , we can use the method …
The VBScript/Javascript under Windows is very helpful, which is often used as a daily administration programming language. WSH stands for Window Scripting Host. It is a Microsoft scripting-friendly environment, …
You can easily use Shell.Application to invoke methods related to Windows such as minimize all windows. For example, if you require users choosing a folder you can invoke the method BrowseForFolder. The …
VBScript is not perfect but it is still good enough. Today I have come across two problems and learned the workaround. 1. There is currently no ‘Exit While’ statement …