Link to home
Start Free TrialLog in
Avatar of scully9999
scully9999

asked on

setx syntax in batch file

I'm running the following command in a batch file on Windows to set the environment variable
setx IT_CONFIG_DOMAINS_DIR=C:\Program Files\IONA\etc\domains -m

but environment value come sout as:
Varaible name: IT_CONFIG_DOMAINS_DIR=C:\Program
Varaible value: Files\IONA\etc\domains
is there a way of setting the name as IT_CONFIG_DOMAINS_DIR and value as C:\Program Files\IONA\etc\domains
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of scully9999
scully9999

ASKER

thanks