how can I get the value (path) of %APPDATA% in Micorosoft JScript?
Asked
Active
Viewed 1,030 times
1 Answers
0
The WScript.Shell object provides the property Environment.

harper
- 13,345
- 8
- 56
- 105
-
Thanks Harper.. The following piece of code worked for me var WshShell = Sys.OleObject("WScript.Shell"); var WshSysEnv = WshShell.ExpandEnvironmentStrings("%APPDATA%"); – satya Sep 02 '10 at 09:12