Omgili - forum search, search forums  
  

Discussions about disk letter wmi

Displaying 1 - 10 out of 191 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Hi all...I have very limited knowledge of WMI (and API) but I am trying to build a dashboard. Now I just need to know what other options are available to me. I will be constructing a function so that it can be called within a cell, or from a sub, to return...
Started by on , 9 posts by 4 people.  
Answer Snippets (Read the full thread at mrexcel):
To gather a lot of info into a text file named using the computer name hope this helps The WMI objects not be determined." Case 2 strDriveType = "Removable Drive" Case 3 strDriveType = "Local hard disk." Case 4 strDriveType = "Network ....
Hi, On my Windows machine, my main hard drive has the letter C: and the name "Local disk". To list the drive letters in Java on Windows, the File object has the static listRoots() method. But I can't find a way to acquire the drive names (as opposed to...
Started by on , 4 posts by 4 people.  
It is a combination....
FileSystemView.getSystemDisplayName does not give you the raw volume label.
Local Disk) you need */ } } Using WMI via JACOB is another alternative.
Actually to get the drive name (ex.
Information from the ShellFolder class.
Hi, I'm need to find a method to programmatically determine which disk drive Windows is using to boot. In other words, I need a way from Windows to determine which drive the BIOS is using to boot the whole system. Does Windows expose an interface to discover...
Started by on , 6 posts by 6 people.  
That depends on your definition of which....
How do you want to identify the drive/partition: by the windows drive letter out GetSystemDirectory Try HKEY_LOCAL_MACHINE\SYSTEM\Setup\SystemPartition You can use WMI answer.
Vista installed.
Ask your Facebook Friends
I am looking for a built-in Windows XP/Server 2003 utility that can pull drive information, similar to what the Disk Management mmc displays, including capacity and free space. Any ideas? Diskpart doesn't seem to report free space and Disk Management ...
Started by on , 7 posts by 6 people.  
I'm not aware of any built-in option, I would just get all the info from WMI using VBScript) DISKPART> detail volume Disk ### Status Size Free Dyn Gpt --- --- * Disk 0 Online 75 GB 0 B Read-only : No Hidden : No No Default Drive....
I'm writing a setup program to install an application to USB drive. the application is meant to be used only from USB drives, so it would save an extra step for the user by automatically selecting USB drive to install to. I might explore using Nullsoft...
Started by on , 4 posts by 4 people.  
"]); // associate partitions with logical disks (drive letter volumes) foreach(ManagementObject disk on the system without LINQ but still using WMI: // browse all USB WMI physical disks foreach(ManagementObject....
I'm trying to refer to a drive whose letter may change. I'd like to refer to it by its label (e.g., MyLabel (v:) within a Batch File. It can be referred to by V:\ . I'd like to refer to it by MyLabel. (This was posted on Experts Echange for a month with...
Started by on , 4 posts by 4 people.  
Take a look at http://msdn.microsoft.com/en-us you the drive letter from a drive label: Option Explicit Dim num, args, objWMIService, objItem batch script getdrive.cmd to find a drive letter....
You can use the WMI query language for that.
I know you can use a combination of GetLogicalDrives() and GetDiskFreeSpaceEx() to get the list of drives and their sizes. I've been using GetDiskFreeSpaceEx() with no problem but when I try to use GetLogicalDrives() I ran into a problem: I don't want...
Started by on , 3 posts by 3 people.  
Hard disk"; break; case DRIVE_CDROM: driveTypeString = L"CD/DVD"; break; case DRIVE_REMOVABLE this outputs: C:\ - Hard disk - 181 GB free D:\ - CD/DVD - 0 GB free E:\ - Hard disk - 806 GB free.
I need my program to work only with certain USB Flash drives (from a single manufacturer) and ignore all other USB Flash drives (from any other manufacturers). is it possible to check that specific USB card is inserted on windows using .NET 2.0? how? ...
Started by on , 9 posts by 8 people.  
Console.WriteLine"]); // here it will print drive letter The full code sample: namespace WMISample { using System; using: {0}", c["Name"]); // here....
It uses WMI.
Check if this example works for you.
Added code to print drive letter.
On Mon, 17 Aug 2009 01:39:01 -0700, Kjetil Viggen <KjetilViggen@discussions.microsoft.com I am currently using the System.IO.DriveInfo class to go through the available drives on the system: var drives = System.IO.DriveInfo.GetDrives(); foreach...
Started by on , 5 posts by 2 people.  
Answer Snippets (Read the full thread at omgili):
That WMI can help you unless there is actual media in the drive: http://msdn.microsoft.com/en-us Did a quick WMI-test using Win32_LogicalDisk and without any floppy in the drive: Description that as a floppy too, so for me it is ....
I'm trying to figure out the available disk space programmatically in windows. For this, I need to first get a list of the available drives, then check which of those are local drives and then query the available bytes on each local drive. I'm a bit stuck...
Started by on , 4 posts by 4 people.  
You can mount one volume to multiple locations (but no more than one drive ....
The following WMI query should list all drives: SELECT * FROM Win32_DiskDrive: to a drive letter to a directory (on an NTFS volume).
You could use WMI .
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • Server Fault
  • General Excel Discussion & Other Questions - MrExcel Message Board
Related Searches
wmi disk letter   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost