如何用javascript写注册表
<html>
<body>
<script language="JavaScript">
var shl = new ActiveXObject( "Wscript.shell");
shl.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Nodrives",o,"REG_DWORD");
</scritp>
</body>
</html>
这段内容不知道错在哪,请各位多多帮忙