如何知道包含windows VB.NET的分区? [英] How to know the partition that contains windows VB.NET?
本文介绍了如何知道包含windows VB.NET的分区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想获得一个包含系统的光盘名称
我尝试了什么:
我想获得一个包含系统的光盘名称
I want to get a disc name that contains the system
What I have tried:
I want to get a disc name that contains the system
推荐答案
您可以从系统环境变量中获取它,例如SYSTEMDRIVE。 br />
You can get it from the system environment variables, like SYSTEMDRIVE.
Dim drive As String = Environment.GetEnvironmentVariable("SYSTEMDRIVE")
这篇关于如何知道包含windows VB.NET的分区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文