试图与一些WSH公司保持我的脚.。 我认为,这是一件容易的事,但确实是一场恶梦。
登记内容;
Set shell = WScript.CreateObject( WScript.Shell );
strRegValue = HKLM/Software/Microsoft/Windows/CurrentVersion/ProductID ;
strPID = shell.RegRead(strRegValue);
WScript.Echo strPID;
This is a code snippet to read a registry value. Maybe you can see what s wrong with it because I sure cant!