Click the floppy disk icons to download the ZIPped sources
| WSH Examples | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Description | Language | Last modified (DD/MM/YYYY) | Also available as: | Remarks | |||||||
| JS | VBS | DOS batch | NT batch | Kix | Perl | Power Shell |
Rexx | |||||
| Random | Display a random (integer) number between 1 and 100 | J | V | 29/12/2002 | D | NT | K | P | R | |||
| ReadINI | Read a value from the specified INI file | V | 19/04/2003 | NT | K | P | R | Batch version may fail on "special" characters like & | < > and brackets | ||||
| ReadReg | Read a value from the registry | V | 06/04/2003 | NT | K | P | R | Based on "Registry functions Provided by the WMI StdRegProv class" by Andrew Mayberry. | ||||
| Reboot | Reboot any WMI enabled computer on the network | V | 21/11/2007 | D | NT | K | P | R | Based on a post by
Alex
K. Angelopoulos on
www.developersdex.com. See my Shutdown page for shutdown and reboot commands for "all" operating systems. |
|||
| Recycle | Send the contents of a folder to the Recycle Bin | V | 17/01/2008 | |||||||||
| RndClass | Retrieve true random numbers from random.org | V | 13/08/2007 | Uses a class to retrieve the random integers | ||||||||
| RndComp | Retrieve true random numbers from random.org | V | 15/08/2007 | Uses a Windows Script Component to retrieve the random integers | ||||||||
| Random.WSC | WSC | |||||||||||
| runNhide | Run a command hidden | V | 24/10/2007 | Based on a similar script by Alistair Johnson; I added some basic error checking and the possibility to use multiple command line arguments. | ||||||||