WinBatch Scripting Examples
Array related ...
Binary Buffer related ...
CDROM CDDB ID3
Checksumming
Clipboard Functions
Console Functions
Constants
Conversion Functions
Date and Time
Dialog Functions
Disk and Filesystem
File related ...
GUID Functions
How to ...
HTML Checker Beautifier
Inifile Managing
Inputing Information
ItemList related ...
Miscellaneous
Name Matching Functions
One Line Pseudo Functions
PDF and Images
Profiling
Registry Functions
Regular Expressions
Scripting.FileSystemObject
String related ...
Unicode related ...
WBT2HTML
WMI related ...
WinBatch Studio Editor Scripts
MSDN
MyWbtHelp (Tree View)
MyWbtHelp 2004-05-18
Top
Array related ...
How to exchange array between Winbatch, VBScript, JScript?
How to use ArrayLocate and restrict search?
udfArrayAskRow
udfArrayCompare
udfArrayCopy
udfArrayDisplayElements
udfArrayDumpToItemList
udfArrayFileGetDim2
udfArrayFilter
udfArrayFindWinItemNameId
udfArrayFromFile
udfArrayFromIniFile
udfArrayGetIniValue
udfArrayToIniFile
udfArrayFromList
udfArrayFromList/ToList compatibility test
udfArrayItemize
udfArrayItemLocate Performancetest
udfArrayItemLocate
udfArrayizeDim2
udfArrayJoin
udfArrayLoadFromFile
udfArrayLocateRow
udfArrayRandom
udfArrayReverse (1)
udfArrayReverse (2)
udfArrayReverse (3)
udfArrayToList
udfArrayUnique
udfArrayUnloadToFile
udfIsItemInArray
udfParseCmdLineToArray
udfStrAnsiToArray
udfStrArrayize (1)
udfStrArrayize (2)
udfStrParseToArray
udsListToVTArray
Array sorting in WinBatch.
Array Sorts Performancetest
How to sort a dim-2 array?
Array sorts ...
udfArrayBinSort
udfArrayBubbleSort (1)
udfArrayBubbleSort (2)
udfArrayDistributionSort
udfArrayGnomeSort
udfArrayHeapSort
udfArrayInsertSort
udfArrayItemSort
udfArrayPartSort (1)
udfArrayPartSort (2)
udfArrayQuickSortNR (1)
udfArrayQuickSortNR (2)
udfArrayQuickSortR (1)
udfArrayQuickSortR (2)
udfArrayShellSort
udfArrayShellSortK
udfArrayShellSortL
udfArrayShellSortM (1)
udfArrayShellSortM (2)
udfArraySortDim2
udfArrayVBJoin
udfArrayVBSplit
How to use udsArrayMap to aggregate amounts
udsArrayMap
Associative Array in WinBatch
Top
Binary Buffer related ...
udfBinaryFill
udfBinaryInsert
udfBinaryPokeStrEx
udfBinarySortTextFile
Top
CDROM CDDB ID3
CDDB Query String Creator
ID3v1 Tagging Monster
ID3v1 Genre Inifile
Screenshot Tagging Monster
Top
Checksumming
udfCrc32CreateTable
udfCrc32SaveTable
udfCrc32LoadTable
udfCrc32LoadFile
udfCrc32LoadStr
udfCrc32Calculate
udfFileCrc
udfFileCrc16
udfFileCrc32
udfFileChecksum
udfCheckSumMod256
udfStrROT13
Top
Clipboard Functions
udfClipGetApp
udfClipGetDataAsString
udfClipGetFormatName
udfClipGetIDForCustomFormat
udfClipSetEmpty
Top
Console Functions
udfCaptureDosOutput
udfConAllocConsole
udfConFreeConsole
udfConSetConsoleTitle
udfConGetConsoleTitle
udfConIsConsoleFullScreen
udfConToggleConsoleState
udfConSetConsoleMode
udfConGetConsoleMode
udfConConsoleExists
udfConGetHandleStdIn
udfConGetHandleStdOut
udfConGetHandleStdErr
udfCloseHandle
udfConSetStdHandle
udfConSetHandleStdIn
udfConSetHandleStdOut
udfConSetHandleStdErr
udfConIsInputHandle
udfConCreateScreenBuffer
udfConSetActiveScreenBuffer
udfConGetScreenBufferInfo
udfConSetScreenBufferSize
udfConGetMaxWindowSize
udfConScrollScreenBuffer
udfConSetWindowInfo
udfConFillScreenBuffer
udfConGetCursorInfo
udfConSetCursorInfo
udfConSetCursorPos
udfWriteFile
udfReadFile
udfConWriteConsole
udfConReadConsole
udfConFlushInputBuffer
udfConSetTextAttribute
udfBinaryAllocCharAttrBuf
udfBinaryAllocAttrBuf
udfConReadOutputRegion
udfConWriteOutputRegion
udfConReadOutputChar
udfConReadOutputAttr
udfConFillOutputChar
udfConFillOutputAttr
udfConWriteCharStr
udfConWriteAttr
udfConGetInputCP
udfConGetOutputCP
udfConSetInputCP
udfConSetOutputCP
udfConGetNumberMouseButtons
udfConGetNumberInputEvents
udfConWriteConsoleInput
udfConReadConsoleInput
udfConPeekConsoleInput
udfConGetConsoleWindow
udfConGetDisplayMode
udfConSetCtrlHandler
udfConRandomFillWindow
udfConSaveRegionToFile
udfConLoadRegionFromFile
Top
Constants
ADSI constants
CF_ constants
Codepage 1252
Codepage 437
Codepage 850
Conversion Table CP_850_1252
CSIDL
Excel constants
HTML Entities
Info Codepage Windows Best Fit
KnownFolders.h
LAFFDB
ssf Special Folder constants
WM_ constants
Multimedia MIME Reference
Top
Conversion Functions
udfArabicToRoman
udfBcdToDec (1)
udfBcdToDec (2)
udfByteToHex (1)
udfByteToHex (2)
udfByteToHex (3)
udfByteToHex
udfColorHexToRgb
udfColorRgbToHex
udfConvertFromBase
udfConvertToBase
udfHugeConvertFromBase
udfHugeConvertToBase
udfBaseConvert
udfDecToHex (1)
udfDecToHex (1)
udfDecToHex (2)
udfDecToHex (2)
udfDecToHex (3)
udfDecToHex (3)
udfDecToHex (4)
udfFileTimeCodeToYmdHms
udfHexToDec
udfHexToByte
udfHexToDec
udfHexToFlt
udfHexToIP (1)
udfHexToIP (2)
udfHexToNum
udfHtmlEncode
udfHwndToWinId
udfIPToDec
udfIPToHex (1)
udfIPToHex (2)
udfOctalToDecimal
udfRomanToArabic
udfStrROT13
udfStrToMorse (1)
udfStrToMorse (2)
udfStrToMorse (3)
udfStrToMorse (4)
udfStrToMorse (5)
udfWinIdToHwnd
udfYmdHmsToFileTimeCode
Top
Date and Time
Binary Clock
udfDayOfWeek
udfDayOfWeekJulian
udfDayOfYear
udfDaysInMonth
udfDaysInYear
udfFormatDateTime
udfGetCountDowInMonth
udfGetCountDowInPeriod
udfGetDay
udfGetFridayOfWeek
udfGetHms
udfGetHour
udfGetLastDayOfMonth (1)
udfGetLastDayOfMonth (2)
udfGetMinute
udfGetMondayOfWeek
udfGetMonth
udfGetNthDowInMonth
udfGetQuarter
udfGetSaturdayOfWeek
udfGetSecond
udfGetSundayOfWeek
udfGetThursdayOfWeek
udfGetTuesdayOfWeek
udfGetWednesdayOfWeek
udfGetWeekDay
udfGetWeekDayFromDate
udfGetWeekDayNext
udfGetWeekDayPrev
udfGetYear
udfGetYmd
udfIsFirstDayOfMonth
udfIsLastDayInMonth
udfIsLastDayOfMonth
udfIsLeapYear (1)
udfIsLeapYear (2)
udfIsLeapYear (3)
udfIsNthDayOfMonth
udfIsValidDateTime
udfGetValidDateTimeStr (1)
udfGetValidDateTimeStr (2)
udfIsWeekDay
udfIsWeekendDay
udfSetDay
udfSetHms
udfSetHour
udfSetMinute
udfSetMonth
udfSetSecond
udfSetYear
udfSetYmd
udfTimeDiff
udfWeekOfMonth
udfWeekOfYear (obsolete)
udfWeekOfYearISO
udfYmdHmsToHTTPStamp
Top
Dialog Functions
udfBoxProgressOpen
udfBoxProgressUpdate
Dialog Editbox with Scrollbars
Screenshot Dialog Editbox
Dialog udfMsgBoxOKTimer
Screenshot udfMsgBoxOKTimer
WDL2INI
Top
Disk and Filesystem
udfDelFoldertree
udfDirGetEx
udfDirTimeSetEx
udfPathCompact
udfPathGetCharInfo
udfGetLongPathNameA
udfPathIsDirectory
udfPathMakeValid
udfPathMatchSpec
udfPathNameLong
udfPathRoot
udfPathSkipRoot
udfPathStripPath
udfPathStripToRoot
udfPathUndecorate
udfStrCompact
SUBST functionality
Top
File related ...
udfFileAdd
udfFileAppendStr (1)
udfFileAppendStr (2)
udfFileCloseReverse
udfFileCreateTemp
udfFileCreateGuidTemp
udfFileDelDupLines (1)
udfFileDelDupLines (2)
udfFileGetLastLine
udfFileGetLastLines
udfFileGetLineCount
udfFileGetMaxLineLen
udfFileLower
udfFileOneWordPerLine
udfFileOneWordPerLine, ex. 1
udfFileOneWordPerLine, ex. 2
udfFileOpenReverse
udfFilePickRandomLine (1)
udfFilePickRandomLine (2)
udfFileReadReverse
udfFileReadToChunk (1)
udfFileReadToChunk (2)
udfFileReadLineToChunk
udfFileReverse (1)
udfFileReverse (2)
udfFileReverse (3)
udfFileReverse (4)
udfFileReverse (5)
udfFileRootExt
udfFileSetEOL
udfFileSetEOLToCRLF
udfFileShrink
udfFileSort
udfFileToBase64String
udfFileFromBase64String
udfFileUpper
udfSearchTreeForFile
Top
GUID Functions
udfClassServerFromCLSIDStr
udfCreateGUID
udfGetClassFromFile
udfGetGUID
udfGUIDCreateBB
udfGUIDCreateByteArray
udfGUIDCreateList
udfGUIDCreateLongArray
udfGUIDCreateStr
udfGUIDFromByteArray
udfGUIDFromLongArray
udfGUIDFromString
udfGUIDToStr
udfGuidToString
udfIndProgIDFromCLSIDStr
udfIsActiveXFromCLSIDStr
udfIsOle1Class
udfProgIDFromCLSID
udfProgIDFromCLSIDStr
udfVersionFromCLSIDStr
Top
How to ...
How to auto-sizing window by longest text line?
How to enumerate monitors?
How to check if extender module is already loaded?
How to compare two dates of format DDMMYY?
How to convert between codepages?
How to convert HTML entities to unicode characters?
How to count items and delimiters?
How to count a substring in a string?
How to delete empty lines from text file?
How to detect different words in two strings?
How to display a dialog without default set button? (1)
How to display a dialog without default set button? (2)
How to exchange array between Winbatch, VBScript, JScript?
How to extract specified line from text file?
How to fill Excel workbook as multiplication table?
How to find the first or last occurrence of a string?
How to find the newest or the oldest file in folder?
How to format text report on CSV data?
How to get all video modes from controller?
How to get file RASH attribute status?
How to get oldest and newest date from CSV text file?
How to get one row from a dim2 array into new dim2 array?
How to get the total number of lines in a text file?
How to insert source file into target file?
How to make strings portable for transmitting via Network?
How to mass replace in XML file? (1)
How to mass replace in XML file? (2)
How to mass replace in XML file? (3)
How to mass replace in XML file? (4)
How to mass replace in XML file? (5)
How to mass replace in XML file? (6)
How to mass replace in XML file? (7)
How to open a password protected PDF file via DDE?
How to read a text file backwards?
How to ping computer?
How to prepend or append additional text into text file?
How to read file whether Unicode or ANSI?
How to remove empty lines?
How to remove first line of text file?
How to remove leading zeroes from numberstring?
How to rename the file extension?
How to right trim all lines in text file?
How to shrink the content of a Binary Buffer?
How to sort a dim-2 array?
How to split big text file into small files?
How to store commandline parameters?
How to strip/merge comments from/to WBT source file?
How to trim a text line?
How to use ArrayLocate and restrict search?
How to use Box functions to display running status report?
How to use DynamicWrapper?
How to use FileWrite and FileRead with line terminator CRLF CR LF?
How to use Wscript.Shell Run method?
How to use VBScript array function "Filter" with WinBatch?
How to wildcard search using binary buffer?
Top
HTML Checker Beautifier
TidyCom v1.00 20020601
TidyCom v1.01 20120702
Top
Inifile Managing
Inifile Managing
udfIniSectionCreate
udfIniSectionDelete
udfIniSectionRename (1)
udfIniSectionRename (2)
udfIniSectionCopy
udfIniSectionMove
udfIniSectionMerge
udfIniSectionSort
udfIniSectionAdjust (1)
udfIniSectionAdjust (2)
udfIniToList
Top
Inputing Information
udfAskColor
udfAskDirectory
udfAskFilename (1)
udfAskFilename (2)
udfAskItemlist
udfAskLine
udfAskTextBox
udfAskYesNo
udfAskPassword
udfMsgBox
udfWshPopup
udfParseCmdLineToArray
udfArrayAskRow
Top
ItemList related ...
ItemInsert example
udfFileSort
udfItemFetch
udfItemListCsvReplace (1)
udfItemListCsvReplace (2)
udfItemListCsvReplace (3)
udfItemListCsvReplace (4)
udfItemListCsvToTab
udfItemListExecute
udfItemListFromFile (1)
udfItemListFromFile (2)
udfItemListFromIni
udfItemListRandom
udfItemListRandomStep
udfItemListReverse (1)
udfItemListReverse (2)
udfItemListReverse (3)
udfItemListSortByteComp
udfItemListSortDesc (1)
udfItemListSortDesc (2)
udfItemListSortFlt
udfItemListSortNum (1)
udfItemListSortNum (2)
udfItemListSortOrdinal
udfItemListToFile (1)
udfItemListToFile (2)
udfItemListTrim
udfItemListTrimDup
udfItemLocateNC
udfItemLocateWild
udfItemLocateWild (2)
udsListToVTArray
Top
Miscellaneous
Change Mp3tag Tools.ini for Mp3tagCompleteTags.exe (Version 1)
Change Mp3tag Tools.ini for Mp3tagCompleteTags.exe (Version 2)
CHM Decompiling
Create CAB Cabinet File
Different usages of StrIndexWild and StrSubWild
Extract function call from #DefineFunction/SubRoutine statement
Get Highs and Lows from Price list, Version 1
Get Highs and Lows from Price list, Version 2
Get InternalName and OriginalName from DLL
Open Browser with passed URL
MSIE Cache History Retrieval
Password Generator
Simple Progressbar
Socket Listener and Connecter
udfBeep
udfBMPInfo
udfCheckCSVFile
udfCheckVarType
udfCountSetBits
udfCreateTestNumberString
udfDeleteTempInternetFiles
udfFactorial / udfPermutation / udfCombination
udfFix
udfGetBomType
udfGetFunctionNameParams
udfGetIdleTime
udfGetPrimeThisOrNext
udfGetTextExtent
udfGetTextProperties
udfGoldenSection
udfIIF
udfIsDisabledNtfs8dot3Name
udfIsHexDigit
udfIsNumberOdd
udfIsNumberPowerOf2
udfIsNumberPrime
udfIsValidRentenVsnr
udfRulerScale
udfSegSeven
udfShChangeNotify
udfShGetFolderPath
udfShortCutCopy
udfSwapNumCommaPoint
udfUrlEscapeA
udfVBFix
udfWinCenter
Wait for file to arrive in folder
udsSwapInt
udfSwapInt
Which variable types can be stored into a cell of a WinBatch array?
Top
Name Matching Functions
udfIsVowel
udfStrDoubleMetaphone
udfStrGuthMatch
udfLevenshteinDistance
udfStrMetaphone
udfStrPhonex
udfStrSoundex
udfStrSoundexEx
Top
One Line Pseudo Functions
AddBackslash
ByteToHex
DelBackslash
FileBaseName
FileGetLine
FileGetLineCount
IsAlpha
StrTrimL
StrTrimR
Top
PDF and Images
ImageToPDF COM
PDFLib PSP COM
Simple Snapshot Tool (1)
Simple Snapshot Tool (2)
udfPDFGetNumPages
udfTIFPageCount
Top
Profiling
Profiling converting string to morse code
Profiling extracting substring from string
Profiling mass replace in XML file
Profiling how to read/write RGB value from/to AskColor inifile
Profiling recursive file counting
Profiling recursive file searching
Profiling removing many files and folders
Profiling replacing substring ignoring case
Profiling reversing an array
Profiling reversing item list
Profiling searching number in string
Profiling trimming characters from string
Top
Registry Functions
REG2WBT
Top
Regular Expressions
udflib Regular Expression
udfStrRegExpSplit
udfStrRegExpSplitCnt
udfStrRegExpSplitEx
udfStrRegExpSplitList
Top
Scripting.FileSystemObject
Scripting.FileSystemObject
Top
String related ...
udfExpandEnvironmentStrings
udfFileToBase64String
udfFileFromBase64String
udfGetLineOfStringInFile
udfIsAbbrev
udfIsLowerCase
udfIsStringInFile (1)
udfIsStringInFile (2)
udfIsStrPalindrome
udfIsUpperCase
udfStrAcronym
udfStrAnsiToArray
udfStrArrayize (1)
udfStrArrayize (2)
udfStrBanner (1)
udfStrBanner (2)
udfStrCamelCaseContract
udfStrCamelCaseSpread
udfStrCap
udfStrCenter
udfStrCmpVersion
udfStrCompact
udfStrCompareWild
udfStrCompose
udfStrCount
udfStrDosEscape
udfStrDecodeURI
udfStrDecodeURIComp
udfStrDecodeUrl
udfStrEncodeURI
udfStrEncodeURIComp
udfStrEncodeUrl
udfStrEscape
udfStrExpandEnvStrings
udfStrFormatByteSize
udfStrFormByteSize
udfStrFromTimeInterval
udfStrGetItemLenMax
udfStringExist
udfStrInsert
udfStrLeft
udfStrMask
udfStrNumThousands
udfStrOverlay
udfStrParseToArray
udfStrPermutation
udfStrQuote
udfStrRandom
udfStrRegExpSplitList
udfStrRemoveTabSpace
udfStrReplaceNC
udfStrReplaceWild
udfStrReplaceWithHex
udfStrReverse
udfStrRight
udfStrRotate
udfStrSplitWords
udfStrStrip (1)
udfStrStrip (2)
udfStrStrip (3)
udfStrStrip (4)
udfStrStrip (5)
udfStrStrip (6)
udfStrStripHtml
udfStrSubCase
udfStrTagFind
udfStrTranslate
udfStrTrimHead
udfStrTrimLeft
udfStrTrimRight
udfStrTrimTail
udfStrUnEscape
udfStrUnQuote
udfStrUrlDecode
udfStrUrlEncode
udfUrlIsOpaqueA
Top
Unicode related ...
udfCodepageConvert
udfIsTextUnicode
Top
WBT2HTML
WBT2HTML v1.01 20010729
WBT2HTML v1.04 20020205
WBT2HTML v1.05 20020207
WBT2HTML v1.23 20020817
WBT2HTML v1.25 20020824
WBT2HTML v1.28 20030103
WBT2HTML v1.29 20030710
WBT2HTML v1.30 20030711
WBT2HTML v3.11 20090709
WBT2HTML v3.13 20110327
Top
WMI related ...
Software Products Inventory WBEM
Software Products Inventory WMI
Wait for file to arrive in folder
WMIC WMI Without Scripting
WMIC Examples
Top
WinBatch Studio Editor Scripts
WBStudio.AddUdfSyntaxToMenu
WBStudio.AlignAtChar
WBStudio.Block.Comment.UnComment
WBStudio.ColonToStrCat
WBStudio.Dialog6Sort
WBStudio.EditDialogInDialogEditor
WBStudio.ForEachCollection
WBStudio.HexToDec
WBStudio.LargeFileOpenPanel
WBStudio.ListMenuTitles
WBStudio.RegLocate
WBStudio.StrCatToColon
WBStudio.WspopupMnu.1.SpellCheck
WBStudio.WspopupMnu.2.MakeCall
WBStudio.WspopupMnu.3.CleanUp
Top
MSDN
Clipboard
CSIDL
Customizing Folders with Desktop.ini
DocumentSummaryInformation UserDefined Property Sets
Encoding.GetEncoding-Methode
Encoding.GetEncodings-Methode
GetPath Method IKnownFolder
ITEMIDLIST Structure
KNOWN_FOLDER_FLAG Enumerated Type
Names in IStorage
offsetTop Property
Predefined Property Set Format Identifiers
SHCOLUMNID Structure
ShellSpecialFolderConstants Enumerated Type
SHGetFolderPath Function
SHGetKnownFolderIDList Function
SHGetKnownFolderPath Function
Summary Information Property Set
Utilities Object
Utilities.Base64Decode Method
WIA Shared Samples
WMI.Secrets.FAQ
Array related ...
Binary Buffer related ...
CDROM CDDB ID3
Checksumming
Clipboard Functions
Console Functions
Constants
Conversion Functions
Date and Time
Dialog Functions
Disk and Filesystem
File related ...
GUID Functions
How to ...
HTML Checker Beautifier
Inifile Managing
Inputing Information
ItemList related ...
Miscellaneous
Name Matching Functions
One Line Pseudo Functions
PDF and Images
Profiling
Registry Functions
Regular Expressions
Scripting.FileSystemObject
String related ...
Unicode related ...
WBT2HTML
WMI related ...
WinBatch Studio Editor Scripts
MSDN
MyWbtHelp (Tree View)
MyWbtHelp 2004-05-18
(c) All rights reserved by Detlev Dalitz.