I would like to know how I can map a drive like x drive does. Can anyone please help?

TIA,
XinMan