473,387 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Drive Type???

Hello all: I am trying to retrieve all drives of a specific type.

I can obtain all drives via the Directory.GetLogicalDrives() method however
there is no obvious way to determine the type of drive?

Thank you,
Shannon Richards.
Jul 21 '05 #1
3 1225
I know it can be achieved via the MicrosoftScripting COM reference and the
traditional FileSystemObject but I'm looking for a solution that does not
depend on this COM .dll

Thank you,
Shannon Richards.

"Shannon Richards" <sr**********@hotmail.com> wrote in message
news:eI**************@TK2MSFTNGP15.phx.gbl...
Hello all: I am trying to retrieve all drives of a specific type.

I can obtain all drives via the Directory.GetLogicalDrives() method however there is no obvious way to determine the type of drive?

Thank you,
Shannon Richards.

Jul 21 '05 #2
Check this:

http://www.dotnet247.com/247reference/msgs/7/35755.aspx

Willy.

"Shannon Richards" <sr**********@hotmail.com> wrote in message
news:eI**************@TK2MSFTNGP15.phx.gbl...
Hello all: I am trying to retrieve all drives of a specific type.

I can obtain all drives via the Directory.GetLogicalDrives() method
however
there is no obvious way to determine the type of drive?

Thank you,
Shannon Richards.

Jul 21 '05 #3
Very cool...Thank you

"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Check this:

http://www.dotnet247.com/247reference/msgs/7/35755.aspx

Willy.

"Shannon Richards" <sr**********@hotmail.com> wrote in message
news:eI**************@TK2MSFTNGP15.phx.gbl...
Hello all: I am trying to retrieve all drives of a specific type.

I can obtain all drives via the Directory.GetLogicalDrives() method
however
there is no obvious way to determine the type of drive?

Thank you,
Shannon Richards.


Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Mayer | last post by:
Hello: I'm running python under cygwin and need to find the drive letter. Cygwin has a way of calling my drives by a name relative to the Cygwin directory, so I get things like /home/user rather...
3
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
2
by: Al Sav | last post by:
Hi, After enumerating the logical drives, using GetLogicalDrives, I need to know the Drive Types, ie. Floppy or Network. Is it possible in C# to do this? Thanks in advance. Alwin S.
4
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
23
by: Rotsey | last post by:
Hi, I am writing an app that scans hard drives and logs info about every fine on the drive. The first iteration of my code used a class and a generic list to store the data and rhis took...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.