/build/static/layout/Breadcrumb_cap_w.png

setx problems

Hi I'm trying to use setx to change an environment variable, it’s acting up when I try to assign a path with space to the Environment Variable (I had the “” around the value but it’s still not working)

Here is the command I'm using

setx MYCDO "d:\My CDOs\" -m

But by doing this it sets the variable as a user environment variable like this,

d:\My CDOs" -m

I've looked at a few manuals online but I can't seem to get it to work,

http://www.amirkamal.com/tools/setx_d.htm

When you take away the backslash it works fine, can anyone help?

0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ