Winstep

Software Technologies


 Winstep Forums


Print view
Board index : Winstep Forums : General Discussion  [ 4 posts ]
Author Message
 Post subject: Windows Environment Variables
PostPosted: Mon Nov 13, 2017 4:25 pm 
Offline

Joined: Mon Nov 13, 2017 4:06 pm
Posts: 2
When I create new element, I try to define it like "Folder" and fill the "Path File", for example, %ALLUSERSPROFILE% but it does not work.

Now the question is : how can i use the Windows Environment Variables instead of explicit declaration, in example above, C:\ProgramData ?

The same thing happens for the %USERPROFILE% or other Environment Variables ...

Thanks a lot !!!


P.S. : Sorry, for my bad English.


Back to top
 Profile  
 
 Post subject: Re: Windows Environment Variables
PostPosted: Tue Nov 14, 2017 8:16 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
While you probably noticed several signs that environment variables were being automatically expanded *internally*, due to an oversight the SEE_MASK_DOENVSUBST flag was not being used when *launching* the actual items, which caused those variables NOT to be expanded by ShellExecuteEx.

Fixed it for next release.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Windows Environment Variables
PostPosted: Tue Nov 14, 2017 6:25 pm 
Offline

Joined: Mon Nov 13, 2017 4:06 pm
Posts: 2
Great !!!


Back to top
 Profile  
 
 Post subject: Re: Windows Environment Variables
PostPosted: Tue Nov 14, 2017 7:31 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
If you want to get it a bit sooner than the official release, make sure that 'Notify me of beta (test) versions' is enabled in the Advanced tab of Preferences.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
Post new topic Reply to topic Board index : Winstep Forums : General Discussion  [ 4 posts ]
Display posts from previous:  Sort by  

Who is online

Users browsing this forum: Google [Bot] and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron