Perl Examples

 

0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 

Download the ZIPed sources Click the floppy disk icons to download the ZIPed sources

Checksums for the ZIPed sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources

 

Perl examples
Click the floppy disk icons to dowload the ZIPed sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources Name Description Last modified (DD/MM/YYYY) Also available in Remarks
DOS
batch
NT
batch
JScript KiXtart Power
Shell
Rexx VB
Script
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source BIOS Display some basic BIOS properties 11/09/2006   NT   K PS R V Created using my WMI Code Generator
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source BIOSDate Display BIOS date 12/12/2003 D NT       R   Original idea by ComputerHope.
Perl, batch and Rexx versions all use DEBUG.EXE to read info from BIOS.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source BIOSInfo Display BIOS manufacturer & date 12/12/2003       K   R   Perl, KiXtart and Rexx versions use DEBUG.EXE to read info from BIOS.
VBScript and KiXtart versions created using Microsoft's Scriptomatic tool.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source BkAllDrv Backup all Windows 2000 drivers 14/02/2004   NT   K   R   This scripts requires Microsoft's DEVCON utility.
Rexx versions to backup only modem and video drivers available too.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Choice A limited port of MS-DOS' CHOICE command 03/10/2003   NT   K   R   More info on the CHOICE command
Convert to and from Unix style text files
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source CrLf Replace orphaned CR or LF with CR/LF pairs 25/03/2003           R   CR = Carriage Return, LF = Line Feed
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source CrLf2Lf Replace CR/LF pairs with LF's only 25/03/2003           R  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source DblCr2Cr Replace double CR/LF pairs with single pairs 28/03/2003           R  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Cut "Cut" substrings from standard input 23/03/2003           R   Rexx version also available for OS/2.
Explained (a little) on my UNIX ports page.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Dec2Hex Convert a decimal number to 8 digit hexadecimal 13/11/2002   NT   K   R V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source DefPRN2K Display default printer for Windows 2000 08/04/2003   NT J K   R V JScript & VBScript versions are for NT 4/2000/XP.
Other versions are for Windows 2000 (and maybe XP, not tested).
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Easter Show date of Easter for the specified year 14/01/2003   NT J K   R V Based on the instructions found at Simon Kershaw's KEEPING THE FEAST
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source False Port of UNIX' "false" command 01/04/2003       K   R   See also matching True
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source FaR Find And Replace substrings in a string 13/04/2003       K   R   KiXtart version comes with matching FaR.bat
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetPorts Display port addresses for serial and parallel ports 12/01/2003 D NT       R   Perl, Rexx and batch versions all use DEBUG.EXE
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetRes Show screen resolution 11/09/2006   NT   K PS R V Created using my WMI Code Generator.
Rexx version is for OS/2, use WMIGen to generate Object Rexx version for Windows.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source KeyLocks Return the status of the CapsLock, NumLock and ScrollLock keys 01/12/2007   NT         V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source LeapYear Check if the specified year is a leap year 14/01/2003 D NT J K PS R V MS-DOS version uses BATCHMAN by Michael Mefford
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source MidiTitl Display title(s) of specified MIDI file(s) 21/01/2004   NT            
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Obscure Obscure an URL by converting its host name part to a decimal IP address and by optionally adding a fake logon name 13/12/2003   NT       R   Your browser's security settings may block the use of decimal IP addresses
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source PrintPDF Print a list of specified PDF files 30/04/2003   NT   K   R V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Random Display a random (integer) number between 1 and 100 24/09/2001 D NT J K   R V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source ReadINI Read a value from an INI file 05/03/2005   NT   K   R V Batch version may fail on "special" characters like & | < > and brackets
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source ReadReg Read a value from the registry 05/04/2003   NT   K   R V Batch version may fail on "special" characters like & | < > and brackets
3rd party tool, no ZIPped source available N/A Ren_ext Rename files using regular expressions                 Written by seth
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SortDate Display the current date in YYYYMMDD format (for sorting purposes) 03/09/2001 D NT J K PS R V MS-DOS version uses BATCHMAN by Michael Mefford
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SortTime Display the current time in HHmmSS format (for sorting purposes) 03/09/2001 D NT J K   R V MS-DOS version uses BATCHMAN by Michael Mefford
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source StarDate Convert current date & time to stardate 26/01/2003   NT   K   R V Based on an algorithm found on The StarTrek Gallery
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Tee Display standard input on screen and redirect it to a file simultaneously 24/03/2003   NT       R   Explained (a little) on my UNIX ports page
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Tomorrow Display tomorrow's date ("sorted") 29/12/2002     J K PS R V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source True Port of UNIX' "true" command 01/04/2003       K   R   See also matching False
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source VideoROM Display video adapter manufacturer info read from video ROM 02/03/2003 D NT   K   R V Perl, batch and Rexx versions use DEBUG.EXE (original idea by ComputerHope).
VBScript and KiXtart versions created using Microsoft's Scriptomatic tool.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Week Display the current week number 21/08/2001 D NT J K PS R V DOS batch file uses WeekOfYr.exe.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Which Locate the specified program file 23/03/2003 D NT   K PS R   Rexx version also available for OS/2.
Explained (a little) on my UNIX ports page.
Click the floppy disk icon to dowload the ZIPed source   WMIGen.hta This HTA generates Batch, C#, F#, JScript, KiXtart, Object Rexx, Perl, PowerShell, Python, Ruby, VB .NET and VBScript code for WMI queries 19/05/2011               Automatically checks for updates.
Based on the example from the Microsoft TechNet ScriptCenter article Scripting Eye for the GUI Guy, with help from the Scripting Guys' Scriptomatic 2.0 and HTA Helpomatic tools and The Script Center Script Repository: Sample Windows PowerShell Scripts.
C# code generation with assistance of Bas van der Woude.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Yesterday Display yesterday's date ("sorted") 03/09/2001   NT J K PS R V  

 

0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 

 

 


page last uploaded: 19 May 2011, 22:25