473,406 Members | 2,404 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,406 software developers and data experts.

access a disk/partition without a drive letter

hi,

i want to write an application who can acces a disk/partition in
windows xp. I know how to do that if the disk/partition has a drive
letter. But in this case the disk has no driveletter and is in that
case for normal users invisible in windows xp.

i've searched the internet but i don't know where to look and i don;t
know how to describe my problem.

Now i'm hoping someone can give me an useefull URL or maby some code
(.NET or managed C++) so i can continue with this.

thanks

Dec 23 '06 #1
2 7399
"unknown;" wrote:
i want to write an application who can acces a
disk/partition in
windows xp. I know how to do that if the disk/partition
has a drive
letter. But in this case the disk has no driveletter and
is in that
case for normal users invisible in windows xp.

i've searched the internet but i don't know where to look
and i don;t
know how to describe my problem.
Look in MSDN for CreateFile function. There is explanation
of how an application can open physical drive.

Dec 23 '06 #2
"unknown;" wrote:
hi,

i want to write an application who can acces a disk/partition in
windows xp. I know how to do that if the disk/partition has a drive
letter. But in this case the disk has no driveletter and is in that
case for normal users invisible in windows xp.

i've searched the internet but i don't know where to look and i don;t
know how to describe my problem.

Now i'm hoping someone can give me an useefull URL or maby some code
(.NET or managed C++) so i can continue with this.
A drive can have no letter in two cases: a. It is mounted as a folder on
another NTFS volume. In this case you can find it using FindFirstVolume()
and it's friends.
b. It is not mounted at all (has no mount points) - in this case you can't
access it.

Regards,
--PA

Dec 25 '06 #3

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

Similar topics

0
by: BK Drake | last post by:
I am trying to assign a drive letter to a hidden partition. I have a hard drive that has 2 paritions - a system and a data partition. When I retore with an image the system drive the data drive...
7
by: jimdscudder | last post by:
How can I use WMI or a WqlObjectQuery to find the hard drive letter of the physical drive location index. For example the following code will give me the physical drive location:...
4
by: sanjana | last post by:
hi i m using the win32_diskdrive class for detecting a memory card insertion and removal..and this class detects memory card(sd card..etc) insertion removal from the device the deviceid...
4
by: Zeeshan | last post by:
hi, i want to get the hard drive number for example if if have drive letter C it should tell me Disk number as 1 and suppose if i have another hard disk attach to my system having letter J, the by...
2
by: unknown; | last post by:
hi, i want to write an application who can acces a disk/partition in windows xp. I know how to do that if the disk/partition has a drive letter. But in this case the disk has no driveletter and...
4
by: Jim Carlock | last post by:
function CreateMyDataBaseFile($FQFN, $UID, $PW) { $db = "sqlite:" . $FQFN; $sql = "CREATE TABLE Customers(name1 TEXT, name2 TEXT);"; $dbh = new PDO($db, $UID, $PW); $dbh->exec($sql); $dbh =...
1
by: Talal Itani | last post by:
I am writing code that accesses an MP3 player plugged to a USB port. The MP3 player is not showing up as a drive letter. With explorer, I see the drive, with it's name, but no drive letter is...
0
by: Ste | last post by:
Good morning to all. I have made a class to manage network connections using APIs WNetAddConnection2A WNetCancelConnection2A WNetGetConnection. I can connect and disconnect remote folder...
4
by: sachin30 | last post by:
Hi, I have a disk number and partition number. using this information i want to find out how much free space available on that partition and what is total size of partition? this thing...
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
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.