Click the floppy disk icons to download the ZIPed sources
Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources
| Sample Scripts Using Regular Expressions | ||||
|---|---|---|---|---|
| Name | Description | Remarks | ||
| BIOSInfo.pl | Display BIOS manufacturer & date | Uses DEBUG to read info from BIOS | ||
| BIOSInfo.rex | Display BIOS manufacturer & date | Uses DEBUG to read info from BIOS | ||
| BkAllDrv.pl | Backup all Windows 2000 drivers | This scripts requires Microsoft's DEVCON utility | ||
| BookFind.vbs | Look up author and title for a specified ISBN number | This scripts uses Amazon.com to look up author & title | ||
| CanonReport.vbs | Display a report for a Canon IR3320 printer's total print output | This script may or may not work on other Canon printer models too | ||
| Choice.pl | A limited port of MS-DOS' CHOICE command | More info on the CHOICE command | ||
| CrLf.pl | Replace orphaned CR or LF with CR/LF pairs | CR = Carriage Return, LF = Line Feed | ||
| CrLf2Lf.pl | Replace CR/LF pairs with LF's only | |||
| DblCr2Cr.pl | Replace double CR/LF pairs with single pairs | |||
| Cut.pl | "Cut" substrings from standard input | Explained (a little) on my UNIX ports page | ||
| DefPRN2K.pl | Display default printer for Windows 2000 | Tested only in Windows 2000 | ||
| FaR.pl | Find And Replace substrings in a string | A good example of string manipulation using regular expressions | ||
| MidiTitl.pl | Display title(s) of specified MIDI file(s) | |||
| Obscure.pl | Obscure an URL by converting its host name part to a decimal IP address and by optionally adding a fake logon name | Your browser's security settings may block the use of decimal IP addresses | ||
| PDFPageCount.bat | Return the page count for the specified PDF file(s) | |||
| PDFPageCount.exe | Return the page count for the specified PDF file(s) | Written in C# | ||
| PrintPDF.pl | Print a list of specified PDF files | This script will only work if Acrobat Reader is the default association for PDF files | ||
| ReadINI.pl | Read a value from an INI file | |||
| ReadReg.bat | Read a value from the registry | May fail on "special" characters like & | < > and brackets. Uses FINDSTR if available, or EGREP otherwise |
||
| ReadReg.pl | Read a value from the registry | |||
| Ren_ext.pl | Rename files using regular expressions | Written by seth | ||
| RFaR.vbs | Regex Find and Replace | Can be used to replace text in ASCII files or strings | ||
| RXDir.bat | Use Regular eXpressions in the DIR command | Uses EGREP | ||
| SCSI.bat (V1) | Enumerate disk drives (IDE and SCSI) | Version 1 uses EGREP, as of version 2 Windows 2000's internal FOR command is used instead | ||
| VideoROM.pl | Display video adapter manufacturer info read from video ROM | Uses DEBUG (original idea by ComputerHope) | ||
| Which.pl | Locate the specified program file | Explained (a little) on my UNIX ports page | ||
| page last uploaded: 14 October 2011, 22:40 |