473,378 Members | 1,518 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,378 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 1224
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.