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:\P rogram Files\IONA\etc\domains -m
but environment value come sout as:
Varaible name: IT_CONFIG_DOMAINS_DIR=C:\P rogram
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
setx IT_CONFIG_DOMAINS_DIR=C:\P
but environment value come sout as:
Varaible name: IT_CONFIG_DOMAINS_DIR=C:\P
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER