PDA

Click to See Complete Forum and Search --> : Restrictions - NoDrives


CyberCarsten
Nov 5th, 1999, 05:20 PM
Hi!
I'm programming a restrictions program.
But i'm having a little problems with NoDrives.
I know that to remove the MS-DOS prompt, you just have
to use this code:
SaveSettingLong HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp", "Disabled", 1
But the NoDrives is a little drifferent.
It is in the Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
and the value is 3fff.
How do i do this???

/ CyberCarsten

Yonatan
Nov 5th, 1999, 07:28 PM
SaveSettingLong HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", "NoDrives", &H3FFF

------------------
Yonatan
Teenage Programmer
E-Mail: RZvika@netvision.net.il
ICQ: 19552879 (http://www.icq.com/19552879)

CyberCarsten
Nov 6th, 1999, 12:52 AM
Thanx!