如何查找Windows文件夹的路径? [英] How to find path for windows folder?
本文介绍了如何查找Windows文件夹的路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用vb.net查找windows文件夹的路径?它可能是winnt或
windows取决于操作系统。
System.Environment.SpecialFolder枚举没有常量
windows文件夹。
How can I find path of windows folder using vb.net? It could be winnt or
windows depending upon the os.
System.Environment.SpecialFolder enumeration does not have a constant for
windows folder.
推荐答案
这可能适合你:
System.Environment.GetEnvironmentVariable(" ; windir")
-
Carsten Thomsen
使用VS .NET,UML和MSF进行企业开发> http://www.apress.com/book/bookDisplay .html?bID = 105
工作批次 <乔**** @ discussions.microsoft.com>在消息中写道
新闻:80 ********************************** @ microsof t.com ...
This might work for you:
System.Environment.GetEnvironmentVariable("windir" )
--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Job Lot" <Jo****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
如何使用vb.net查找windows文件夹的路径?根据操作系统,它可能是winnt或
窗口。
System.Environment.SpecialFolder枚举对于
windows文件夹没有常量。
How can I find path of windows folder using vb.net? It could be winnt or
windows depending upon the os.
System.Environment.SpecialFolder enumeration does not have a constant for
windows folder.
你能得到系统的路径吗?文件夹,然后导航一个文件夹?
" Job Lot" <乔**** @ discussions.microsoft.com>在消息中写道
新闻:80 ********************************** @ microsof t.com ...
Could you get the path for the "system" folder, then navigate one folder up?
"Job Lot" <Jo****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
如何使用vb.net查找windows文件夹的路径?根据操作系统,它可能是winnt或
窗口。
System.Environment.SpecialFolder枚举对于
windows文件夹没有常量。
How can I find path of windows folder using vb.net? It could be winnt or
windows depending upon the os.
System.Environment.SpecialFolder enumeration does not have a constant for
windows folder.
Peter Rilling
如何在一个文件夹中导航?
" Peter Rilling"写道:
Peter Rilling
How can i navigate one folder up?
"Peter Rilling" wrote:
你能得到系统的路径吗?文件夹,然后导航一个文件夹?
工作批次 <乔**** @ discussions.microsoft.com>在消息中写道
新闻:80 ********************************** @ microsof t.com。 ..
Could you get the path for the "system" folder, then navigate one folder up?
"Job Lot" <Jo****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
如何使用vb.net查找windows文件夹的路径?根据操作系统,它可能是winnt或
窗口。
System.Environment.SpecialFolder枚举对于
windows文件夹没有常量。
How can I find path of windows folder using vb.net? It could be winnt or
windows depending upon the os.
System.Environment.SpecialFolder enumeration does not have a constant for
windows folder.
这篇关于如何查找Windows文件夹的路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文