I must change the Registry at :
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\explorer
at the option NoDrives
and set wich drive I want hide but on the microsoft manual I saw these parameters :
----------------------------------------------------------------------
The values for each drive are as follows:
1 - A I Q Y
2 - B J R Z
4 - C K S
8 - D L T
16 - E M U
32 - F N V
64 - G O W
80 - H P X
So, let's say you want to hide drive D. In the first column you would put "08". For drive K you would put "04" in the second column.
But what if you want to hide more than one drive in a column? Simply add the values together: D+E = 8+16 = 24. So in the first column you would put "24".
---------------------------------------------------------------
But I KNOW How set this variable in a program with xharbour and fivewin
there is someone can help me ?
Best Regards