473,386 Members | 1,609 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,386 software developers and data experts.

Create a Virtual Drive

Hi, is it possible to create a virtual drive? For instance, let's say I
want to create a virtual drive call "Z", and that drive should be visible in
the My Computer folder and works like a standard hard drive, but the
different is that, all underlying implementations such as create a file at
the "Z" drive, etc. will be mapped to my dll or services.

Thanks
Tony
Nov 15 '05 #1
6 28508
Hello Tony,

I'd like to follow up with you and see if there is any further I can help.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
Nov 15 '05 #2
Thanks for reply, but is there a way to do this without C/C++?
"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:rl**************@cpmsftngxa06.phx.gbl...
Hi Tony,

Thanks for your post. I'd like to share the following information with you:
If you want to create a virtual drive just like standard hard disk, you
have to write a kernel-mode device driver. To develop a kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I believe the following DDK sample is very helpful for creating virtual disk driver.

FILE: Ramdisk.sys Sample Driver for Windows 2000
http://support.microsoft.com/default...microsoft.com: 80/support/kb/articles/Q257/4/05.ASP&NoWebContent=1

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.

Nov 15 '05 #3
Thanks for reply, but is there a way to do this without C/C++?
"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:rl**************@cpmsftngxa06.phx.gbl...
Hi Tony,

Thanks for your post. I'd like to share the following information with you:
If you want to create a virtual drive just like standard hard disk, you
have to write a kernel-mode device driver. To develop a kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I believe the following DDK sample is very helpful for creating virtual disk driver.

FILE: Ramdisk.sys Sample Driver for Windows 2000
http://support.microsoft.com/default...microsoft.com: 80/support/kb/articles/Q257/4/05.ASP&NoWebContent=1

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.

Nov 15 '05 #4
Tian Min Huang wrote:
Hi Tony,

Thanks for your post. I'd like to share the following information
with you:

If you want to create a virtual drive just like standard hard disk,
you have to write a kernel-mode device driver. To develop a
kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I
believe the following DDK sample is very helpful for creating virtual
disk driver.


Why a driver? Wouldn't a shell namespace extension do what he wants?

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #5
Tian Min Huang wrote:
Hi Tony,

Thanks for your post. I'd like to share the following information
with you:

If you want to create a virtual drive just like standard hard disk,
you have to write a kernel-mode device driver. To develop a
kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I
believe the following DDK sample is very helpful for creating virtual
disk driver.


Why a driver? Wouldn't a shell namespace extension do what he wants?

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #6
Hello Tony,

We have to use C/C++ to create kernel-mode device driver.

As suggested by Arild, you may also consider creating a shell namespace
extension (say, "My Network Places", etc). Please refer to the following
documentation and sample:

The Shell Namespace
http://msdn.microsoft.com/library/de...us/shellcc/pla
tform/shell/programmersguide/shell_basics/namespace.asp

Creating a Shell Namespace Extension
http://msdn.microsoft.com/library/de...us/shellcc/pla
tform/shell/programmersguide/shell_adv/namespaceextension/namespace.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
Nov 15 '05 #7

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

Similar topics

3
by: Tiziano Bettio | last post by:
Hi there I'm looking for a simple solution of a win32 shell extension (virtual drive). It should make available a new drive with letter, which will be read-only. Instead of a network drive or...
1
by: Iwan | last post by:
I have a speciffic task of which i do not know how to start on. The task is to create a virtual drive (like a ram drive og deamon tools). Through this drive files are to be saved and loaded like...
1
by: freddy | last post by:
I would like to create a virtual web drive like what xdrive has. I what this for personal reasons. I know this can be done I just do't know where to start. I would login to my webpage and have a...
2
by: Kavitha | last post by:
Hi , Can any one tel me how to create a virtual drive in C#( similar to Gmail Virtual drive).Also tell me what interfaces could be used to create the same. Thanks in Advance Kavitha
4
by: Luc The Perverse | last post by:
Hi - I have very little C# programming experience. I am making a software product which calls for an interface almost identical to Windows Explorer - and I wondered if mounting a "virtual drive"...
1
by: Bhaskar Jatav | last post by:
Hello sir, It is highly obliged to tell me how to create virtual drive for any folder,file or any drive. I am working on one in which i need to create virtual drive. please anybody...
0
by: sumit.professional | last post by:
Hello Friends, Help required for creating a virtual drive in windows explorer using C# which will work for both 32 bit and 64 bit machine(XP and Vista). Means just want to show a xtra drive in...
2
by: rksinghal | last post by:
Hi all First I need to create a virtual drive with a fixed drive letter. I want to mount my external hard disk to this location of virtual drive. This drive letter should not changed irrespective...
0
by: eric navara | last post by:
Is there any way to turn (change) a virtual drive into a logical drive in Win7 ?
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?
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...
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
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...

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.