trimspace in bact file code example
Example: trimspace in bact file
@echo off
set str = This string has a lot of spaces
echo %str%
set str=%str:=%
echo %str%
@echo off
set str = This string has a lot of spaces
echo %str%
set str=%str:=%
echo %str%