I hope this helps . So I'm looking for a quick command to evaluate the length of environment variables on the windows command line.
call :COUNT "%path%"
echo Your variable is %length% characters long
if defined temp (
set /a length+=1
hope this fix your issue I made a code to post data in a table describing a product but it only gets the word before the space, when I use print_r it gives the complete string. , Because you forgot the quotes. If this emits two words: