Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

getenv setenv no longer working

3 REPLIES 3
Reply
Message 1 of 4
varcii
522 Views, 3 Replies

getenv setenv no longer working

Can somebody confirm this.

 

Should SETENV/GETENV be writing/reading to and from the System Registry?

 

After installing ACAD 2013 as a trail this now seems to be the behaviour, only found it when GETENV calls started to fail. This has also affected previous versions installed on the same workstations.

 

Any help would be appreciated.

 

Tim English

3 REPLIES 3
Message 2 of 4
scot-65
in reply to: varcii

Windows 7?

This is a blanket security set by the OS.

You will need to unlock this, even if you have administrator permissions.

 

START -> Run -> REGEDIT

should bring up a security dialog box where you can make the adjustment.

If not, you are going in the right direction...

 

I have limited access to 7 and encountered this problem using

VL-REGISTRY-WRITE, but have not actually resolved this, yet.

 

???


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Message 3 of 4
varcii
in reply to: varcii

Sorry I got my commands mixed up. I was trying to access ACAD variables using getenv instead of getvar.

I guess that happens when I spend too much time looking at these lovely lines of code.

 

More sleep required here!

Message 4 of 4
scot-65
in reply to: varcii

GETENV will only return a select number of values from the registry

(mostly in the <<user profile>> area).

If a registry key/subkey contains a space or a dot ".", you have to fetch

the value using VL-REGISTRY-READ.

 

???


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost