Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: GS Newsgroups: comp.lang.basic.visual.misc,microsoft.public.vb.general.discussion Subject: Re: Need help with writing drive property: Possible solution Date: Sun, 22 May 2011 14:36:34 -0400 Organization: A noiseless patient Spider Lines: 28 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 22 May 2011 18:33:05 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="UVJBuiIZprDyxzUkJsiwfw"; logging-data="5582"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QQlOnLuZzwRobaFCGkhpz" X-Antivirus-Status: Clean X-Newsreader: MesNews/1.08.03.00-gb X-Antivirus: avast! (VPS 110522-1, 05/22/2011), Outbound message Cancel-Lock: sha1:FP6mqzl/5gJqgStpqRBTO6s8fak= X-ICQ: 543516788 Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:179 on 5/22/2011, Mayayana supposed : > I found the answer, but it's very ugly: > > http://www.vistax64.com/powershell/125429-associating-wmi-disk-classes.html > > It turns out that you need to connect the disk IDs to > the logical partitions with Win32_LogicalDiskToPartition > using "ASSOCIATORS OF" Hmm! I'm actually looking to get away from WMI and was hoping to be able to go with APIs. Sorry if I wasn't clear about that when I said "I'm not looking for WMI help here". I certainly do appreciate your effort, though, and so I won't let that go to waste. I did run a script on Win32_LogicalDiskToPartion but didn't easily find what I was looking for. I'll take another look after I view the webpage you posted a link to. Also, I'll explore the APIs MikeD mentioned. Thanks so much... -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc