Category: windows
Under WSH (Windows Scripting Host), we can do a lot of tasks by using VBScript/JScript. The COM object WScript.Shell provides a useful method Exec that can be used to …
Can you use arrays in the simple windows batch programming? The answer is yes, but we have to use some tricks to emulate the arrays. @echo off :: helloacm.com …
In last post, we show you how to run an external program using Administrator (run-as). The powershell doesn’t come by default on home-use editions but on server editions (however, …
You can use Start-Process in Powershell to run an external program. And you can use runas to specify running as administrator. One example to run notepad as administrator in …
In last post, we show you the way to extract substring in batch variable. Now let us review this by another example. If you type in ver, you will …