Winstep Forums
https://forums.winstep.net/phpBB2/

Windows Environment Variables
https://forums.winstep.net/phpBB2/viewtopic.php?f=2&t=10535
Page 1 of 1

Author:  torello86 [ Mon Nov 13, 2017 4:25 pm ]
Post subject:  Windows Environment Variables

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.

Author:  winstep [ Tue Nov 14, 2017 8:16 am ]
Post subject:  Re: Windows Environment Variables

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.

Author:  torello86 [ Tue Nov 14, 2017 6:25 pm ]
Post subject:  Re: Windows Environment Variables

Great !!!

Author:  winstep [ Tue Nov 14, 2017 7:31 pm ]
Post subject:  Re: Windows Environment Variables

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/