Reputation:
I am writing a bat file and the variable return nul:
@echo Off set DEF_APACHE_NAME = Apache echo DEF_APACHE_NAME: %DEF_APACHE_NAME%
Returns:
DEF_APACHE_NAME:
Anyone know why the "Apache" is not in string?
Upvotes: 1
Views: 47
Reputation: 41244
remove the spaces around the = sign.
=