resource -enum -type gicon -file regedit.exe
id=100 type=gicon ICON 256x256,64x64,48x48,40x40,32x32,24x24,20x20,16x16
id=101 type=gicon ICON 256x256,64x64,48x48,40x40,32x32,24x24,20x20,16x16
id=102 type=gicon ICON 256x256,64x64,48x48,40x40,32x32,24x24,20x20,16x16
id=205 type=gicon ICON 16x16,16x16,16x16,32x32
id=206 type=gicon ICON 16x16,16x16,16x16,32x32
resource -export -id 205 -type gicon -file regedit.exe >205.ico 205 & 206 是 16x16
resource -export -id 102 -type gicon -file regedit.exe >102.ico 100 & 101 102 = 64x64
为什么到处的是是单个,而不是一组ALL 文件夹 导出呢?
而导出的单个 有什么规律或限制吗?
我发现能提取的文件类型还很多的
有 .ACM .cox .ax .bin .ice .* .* .*·!~!@@!@#¥#¥% 等 太多了,,
反正跑到 system32 文件夹下一通提取 总您提取出一两种资源,不是字符就是 图标 要么其他资源 ,,
所以鄙人写了个注册表 关联到所有文件。。列举 string,icon,gicon,bitmap,rcdata 方便大家应用,,,
我早说了,,这是个好工具,,,
- Reg add "HKEY_CLASSES_ROOT\*\shell\resource" /ve /t REG_SZ /d "Resource_资源列举" /f
- Reg add "HKEY_CLASSES_ROOT\*\shell\resource" /v "Icon" /t REG_SZ /d "Shell32.dll,19" /f
- Reg add "HKEY_CLASSES_ROOT\*\shell\resource\Command" /ve /t REG_SZ /d "Cmd /c Start/Max \"%%1 - Resource_v1.1 - 资源获取\" Cmd /t:e0 /k @Echo off ^& (For %%%%a in (string,icon,gicon,bitmap,rcdata) do ( Echo.%windir%\resource.exe -enum -type %%%%a -file %%1 ^& %windir%\resource.exe -enum -type %%%%a -file %%1 )) ^&Pause ^>Nul ^& Exit & Exit" /f
复制代码 |