无忧启动论坛

标题: INF 脚本变量大全 [打印本页]

作者: chishingchan    时间: 2021-11-5 21:34
标题: INF 脚本变量大全
本帖最后由 chishingchan 于 2021-11-6 20:16 编辑

1、保存脚本并右击 INF-Script.inf,选择 安装
  1. [Version]
  2. Signature="$CHICAGO$"

  3. [DefaultInstall]
  4. AddReg=AddReg

  5. [AddReg]
  6. HKLM,"SOFTWARE\INF Script",,,"变量大全"
  7. HKLM,"SOFTWARE\INF Script","%%1%%",,"脚本目录"
  8. HKLM,"SOFTWARE\INF Script","%%10%%",,"%10%"
  9. HKLM,"SOFTWARE\INF Script","%%11%%",,"%11%"
  10. HKLM,"SOFTWARE\INF Script","%%12%%",,"%12%"
  11. HKLM,"SOFTWARE\INF Script","%%17%%",,"%17%"
  12. HKLM,"SOFTWARE\INF Script","%%18%%",,"%18%"
  13. HKLM,"SOFTWARE\INF Script","%%20%%",,"%20%"
  14. HKLM,"SOFTWARE\INF Script","%%21%%",,"%21%"
  15. HKLM,"SOFTWARE\INF Script","%%23%%",,"%23%"
  16. HKLM,"SOFTWARE\INF Script","%%24%%",,"%24%"
  17. HKLM,"SOFTWARE\INF Script","%%25%%",,"%25%"
  18. HKLM,"SOFTWARE\INF Script","%%30%%",,"%30%"
  19. HKLM,"SOFTWARE\INF Script","%%50%%",,"%50%"
  20. HKLM,"SOFTWARE\INF Script","%%51%%",,"%51%"
  21. HKLM,"SOFTWARE\INF Script","%%52%%",,"%52%"
  22. HKLM,"SOFTWARE\INF Script","%%53%%",,"%53%"
  23. HKLM,"SOFTWARE\INF Script","%%54%%",,"%54%"
  24. HKLM,"SOFTWARE\INF Script","%%55%%",,"%55%"
  25. HKLM,"SOFTWARE\INF Script","%%16384%%",,"%16384%"
  26. HKLM,"SOFTWARE\INF Script","%%16386%%",,"%16386%"
  27. HKLM,"SOFTWARE\INF Script","%%16389%%",,"%16389%"
  28. HKLM,"SOFTWARE\INF Script","%%16390%%",,"%16390%"
  29. HKLM,"SOFTWARE\INF Script","%%16391%%",,"%16391%"
  30. HKLM,"SOFTWARE\INF Script","%%16392%%",,"%16392%"
  31. HKLM,"SOFTWARE\INF Script","%%16393%%",,"%16393%"
  32. HKLM,"SOFTWARE\INF Script","%%16395%%",,"%16395%"
  33. HKLM,"SOFTWARE\INF Script","%%16397%%",,"%16397%"
  34. HKLM,"SOFTWARE\INF Script","%%16398%%",,"%16398%"
  35. HKLM,"SOFTWARE\INF Script","%%16400%%",,"%16400%"
  36. HKLM,"SOFTWARE\INF Script","%%16403%%",,"%16403%"
  37. HKLM,"SOFTWARE\INF Script","%%16404%%",,"%16404%"
  38. HKLM,"SOFTWARE\INF Script","%%16405%%",,"%16405%"
  39. HKLM,"SOFTWARE\INF Script","%%16406%%",,"%16406%"
  40. HKLM,"SOFTWARE\INF Script","%%16407%%",,"%16407%"
  41. HKLM,"SOFTWARE\INF Script","%%16408%%",,"%16408%"
  42. HKLM,"SOFTWARE\INF Script","%%16409%%",,"%16409%"
  43. HKLM,"SOFTWARE\INF Script","%%16410%%",,"%16410%"
  44. HKLM,"SOFTWARE\INF Script","%%16411%%",,"%16411%"
  45. HKLM,"SOFTWARE\INF Script","%%16412%%",,"%16412%"
  46. HKLM,"SOFTWARE\INF Script","%%16413%%",,"%16413%"
  47. HKLM,"SOFTWARE\INF Script","%%16414%%",,"%16414%"
  48. HKLM,"SOFTWARE\INF Script","%%16415%%",,"%16415%"
  49. HKLM,"SOFTWARE\INF Script","%%16416%%",,"%16416%"
  50. HKLM,"SOFTWARE\INF Script","%%16417%%",,"%16417%"
  51. HKLM,"SOFTWARE\INF Script","%%16418%%",,"%16418%"
  52. HKLM,"SOFTWARE\INF Script","%%16419%%",,"%16419%"
  53. HKLM,"SOFTWARE\INF Script","%%16420%%",,"%16420%"
  54. HKLM,"SOFTWARE\INF Script","%%16421%%",,"%16421%"
  55. HKLM,"SOFTWARE\INF Script","%%16422%%",,"%16422%"
  56. HKLM,"SOFTWARE\INF Script","%%16423%%",,"%16423%"
  57. HKLM,"SOFTWARE\INF Script","%%16424%%",,"%16424%"
  58. HKLM,"SOFTWARE\INF Script","%%16425%%",,"%16425%"
  59. HKLM,"SOFTWARE\INF Script","%%16426%%",,"%16426%"
  60. HKLM,"SOFTWARE\INF Script","%%16427%%",,"%16427%"
  61. HKLM,"SOFTWARE\INF Script","%%16428%%",,"%16428%"
  62. HKLM,"SOFTWARE\INF Script","%%16429%%",,"%16429%"
  63. HKLM,"SOFTWARE\INF Script","%%16430%%",,"%16430%"
  64. HKLM,"SOFTWARE\INF Script","%%16431%%",,"%16431%"
  65. HKLM,"SOFTWARE\INF Script","%%16432%%",,"%16432%"
  66. HKLM,"SOFTWARE\INF Script","%%16437%%",,"%16437%"
  67. HKLM,"SOFTWARE\INF Script","%%16438%%",,"%16438%"
  68. HKLM,"SOFTWARE\INF Script","%%16439%%",,"%16439%"
  69. HKLM,"SOFTWARE\INF Script","%%16440%%",,"%16440%"
  70. HKLM,"SOFTWARE\INF Script","%%16441%%",,"%16441%"
  71. HKLM,"SOFTWARE\INF Script","%%16442%%",,"%16442%"
  72. HKLM,"SOFTWARE\INF Script","%%16443%%",,"%16443%"
复制代码


2、打开并查看注册表位置:HKEY_LOCAL_MACHINE\SOFTWARE\INF Script

作者: caocaofff    时间: 2021-11-5 21:47
这个可以收藏了
作者: 邪恶海盗    时间: 2021-11-5 22:04
这是个好东西...
作者: nianyueriPE    时间: 2021-11-5 22:06
谢谢分享
作者: vvt1321    时间: 2021-11-5 22:06
感谢分享,收藏一份!
作者: kuer    时间: 2021-11-5 23:34
vvt1321 发表于 2021-11-5 22:06
感谢分享,收藏一份!

谢谢分享!收藏一份!
作者: kuer    时间: 2021-11-5 23:37
谢谢分享!收藏一份!
作者: qswml    时间: 2021-11-5 23:45
不错 感谢分享
作者: lily9718    时间: 2021-11-6 06:42
谢谢分享
作者: wychun    时间: 2021-11-6 07:07
这个不错,谢谢分享
作者: karaser    时间: 2021-11-6 07:41
谢谢分享
作者: 马路大    时间: 2021-11-6 08:07
提示: 作者被禁止或删除 内容自动屏蔽
作者: 2012andyle113    时间: 2021-11-6 08:53
纯数值型变量?还真没见过这么多的
作者: 994956737    时间: 2021-11-6 09:54
谢谢分享
作者: MC阿虎    时间: 2021-11-6 10:15
谢谢分享啦
作者: 2010yuntiger    时间: 2021-11-6 10:48
谢谢分享,学习学习
作者: a123456789z    时间: 2021-11-6 13:45
谢谢分享
作者: smmxlsq    时间: 2021-11-6 15:36

谢谢分享!收藏
作者: chishingchan    时间: 2021-11-6 18:21
本帖最后由 chishingchan 于 2021-11-6 20:21 编辑

各人的电脑配置不一样,个别的结果也会有变化!
我的电脑装了双系统,第一个主分区用来安装 XP,第二个主分区用来安装 7。
上面例子在 7 下生成的,鉴于系统盘总是 C: 盘,所以上图中 C: 是系统盘,D: 是启动盘。

1.png (84.97 KB, 下载次数: 37)

1.png

作者: kingdazhong    时间: 2021-11-9 08:33
感谢大大辛苦分享!




欢迎光临 无忧启动论坛 (http://wuyou.net./) Powered by Discuz! X3.3