How do I create a string variable that contains only a single SPACE character?
Code: Select all
SET Variable=
Do I need to use %Variable% instead?
Appreciated.
Moderator: DosItHelp
Code: Select all
SET Variable=
Code: Select all
@echo off
setlocal enableExtensions
SET Variable=
set "Variable2= "
echo %Variable% %Variable2%
echo %Variable: =#% %Variable2: =;%
echo(%Variable% %Variable2%
goto :eof