Well some people might say so whats great in that! But for some people it can be a very great thing if you can mount your movies folder, songs folder and docs folder as drive. It can be very handy coz when you open your 'My Computer' folder you can see your virtually mounted drives..
API call -
DefineDosDevice
How to use it?
Here is an example -
DefineDosDevice(0, _T("T:"), _T("F:\\Songs"));
And when you no longer require this drive you can remove it simply by using following call
DefineDosDevice(DDD_REMOVE_DEFINITION, _T("T:"), _T("F:\\Songs"));
U can do it through simple command on CMD
ReplyDeletesubst
eg : subst P: D:\songs
Thanks Rahul, I didn't know that..
ReplyDelete