WinRT下有没有getenv函数的替代品?
或者可能根本无法访问环境变量?
I believe it is not possible to retrieve environment variables from a WinRT app. However, your app has a local, roaming, and temp folder available to it. Windows.Storage.ApplicationData.Current has all the root folders you need to create/read/delete files and folders in your app's folders.