[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[注册表类] 请问用批处理如何导入随机变化的注册表项。。。?

本帖最后由 samsung4203 于 2011-9-13 12:05 编辑

我的第1个注册表文件
  1. Windows Registry Editor Version 5.00
  2. [HKEY_USERS\S-1-5-21-3336281667-967476138-2395321716-500\Software\Microsoft\ActiveMovie\devenum\{E0F158E1-CB04-11D0-BD4E-00A0C911CE86}\Default WaveOut Device]
  3. "CLSID"="{E30629D1-27E5-11CE-875D-00608CB78066}"
  4. "FilterData"=hex:02,00,00,00,00,00,20,00,01,00,00,00,00,00,00,00,30,70,69,33,\
  5.   02,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,\
  6.   00,00,00,38,00,00,00,48,00,00,00,61,75,64,73,00,00,10,00,80,00,00,AA,00,38,\
  7.   9B,71,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
  8. "FriendlyName"="Default WaveOut Device"
  9. "WaveOutId"=dword:FFFFFFFF
复制代码
第二个注册表文件
  1. [HKEY_USERS\S-1-5-21-1177238915-1647877149-2147093213-500\Software\Microsoft\ActiveMovie\devenum\{E0F158E1-CB04-11D0-BD4E-00A0C911CE86}\Default WaveOut Device]
  2. "CLSID"="{E30629D1-27E5-11CE-875D-00608CB78066}"
  3. "FilterData"=hex:02,00,00,00,00,00,20,00,01,00,00,00,00,00,00,00,30,70,69,33,\
  4.   02,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,\
  5.   00,00,00,38,00,00,00,48,00,00,00,61,75,64,73,00,00,10,00,80,00,00,AA,00,38,\
  6.   9B,71,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
  7. "FriendlyName"="Default WaveOut Device"
  8. "WaveOutId"=dword:FFFFFFFF
复制代码
在每次新装完系统后 这个注册表的【S-1-5-21-1177238915-1647877149-2147093213-500】项就会变化


大家请看,在注册表文件里只有 【S-1-5-21-3336281667-967476138-2395321716-500】 【S-1-5-21-1177238915-1647877149-2147093213-500】不同,其它的键值和项都相同,那用批处理怎么样才能导入随机变化的【S-1-5-21-1177238915-1647877149-2147093213-500】注册表项。。。

返回列表