Solved

Virtual Drive

Posted on 2002-03-31
2
249 Views
Last Modified: 2013-11-15
Hi,

How can I create a virtual Drive that is a map of a folder from my harddisk?

It's like creating a map network drive, but the folder is from my own computer. Please let me know how to do that with Delphi 5.0.

Thank you.
0
Comment
Question by:totok
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 6908656
This is the easiest way I know of.

ShellExecute(0, 'OPEN','SUBST','P: C:\WINDOWS','', SW_HIDE);

Uses ShellAPI.


Hope this helps,

Stu.
0
 
LVL 20

Accepted Solution

by:
Madshi earned 100 total points
ID: 6922550
There is an API for this purpose, it's called DefineDosDevice.

Regards, Madshi.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question