Link to home
Start Free TrialLog in
Avatar of totok
totok

asked on

Virtual Drive

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.
Avatar of Stuart_Johnson
Stuart_Johnson

This is the easiest way I know of.

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

Uses ShellAPI.


Hope this helps,

Stu.
ASKER CERTIFIED SOLUTION
Avatar of Madshi
Madshi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial