Skip to content

Library system for windows batch files using batch macros

License

jeb-de/BatchLibrary

Repository files navigation

BatchLibrary

Library system for windows batch files using batch macros

Sample batch file, using macros from libString

@echo off
setlocal EnableDelayedExpansion

set libPath=thePathToTheLib
call %libPath%\libString

set "myString=<>&abc"

%$strlen% myString resultLen
echo The length is %resultLen%

set "myString2=   ;hi*?><&  "
%$trim% myString trimmedStr
echo Trimmed string is '!trimmedStr!'

About

Library system for windows batch files using batch macros

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published