Expand environment variable for My Documents

后端 未结 6 2108
星月不相逢
星月不相逢 2021-01-04 06:19

I know I can read environment variables like this:

Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

However, it would be r

6条回答
  •  -上瘾入骨i
    2021-01-04 06:56

    No it does not exist. The easiest way to check is to run "set" from command line and see yourself.

    Start-> run -> cmd
    set
    set |findstr /i documents
    

提交回复
热议问题