无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 3742|回复: 0
打印 上一主题 下一主题

求助 如何用批处理改变文件夹窗口大小和查看方式

[复制链接]
跳转到指定楼层
1#
发表于 2010-10-21 08:20:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在pe下经常虽要改变文件夹查看方式和窗口大小,手工改很麻烦;
以下2个批处理放在桌面上很方便,改变文件夹查看方式有效,
但改变窗口大小有时有效,有时无效,是什么原因?

图标小窗口.bat
@echo off
rem 禁止xp下运行
rem 图标查看
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams" /v "Settings" /t REG_BINARY /d "080000000100000001000000e0d057007335cf11ae6908002b2e1262040000002000000043000000" /f
rem 小窗口 (不可靠)
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /v "HRZR_HVFPHG" /t REG_BINARY /d "000000000a0000008027ed96986ecb01" /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /v "HRZR_EHACNGU" /t REG_BINARY /d "000000000c0000008027ed96986ecb01" /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /v "HRZR_EHACNGU:::{20Q04SR0-3NRN-1069-N2Q8-08002O30309Q}" /t REG_BINARY /d "00000000090000008027ed96986ecb01" /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "WinPos800x600(1).left" /t REG_DWORD /d 152 /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "WinPos800x600(1).top" /t REG_DWORD /d 43 /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "WinPos800x600(1).right" /t REG_DWORD /d 610 /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "WinPos800x600(1).bottom" /t REG_DWORD /d 525 /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "Rev" /t REG_DWORD /d 32 /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "WFlags" /t REG_DWORD /d 0 /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "ShowCmd" /t REG_DWORD /d 1 /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "Vid" /d "{0057D0E0-3573-11CF-AE69-08002B2E1262}" /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "Mode" /t REG_DWORD /d 1 /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "ColInfo" /t REG_BINARY /d "00000000000000000000000000000000fddfdffd0f0005002400100000002e00000000000100000002000000030000000400000078009600600060007800cff3a8b03343ab4b88731ccb1cada48b30f125b7ef471a10a5f102608c9eebac04000000" /f
rem 刷新
PECMD KIll explorer.exe

平铺大窗口.bat
@echo off
rem 禁止xp下运行
rem 平铺查看
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams" /v "Settings" /t REG_BINARY /d "080000000600000001000000e525f165e17b1048ba9dd271c8432ce3040000000c00000043000000" /f
rem 大窗口 (不可靠)
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /v "HRZR_HVFPHG" /t REG_BINARY /d "0000000011000000102d67209b6ecb01" /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /v "HRZR_EHACNGU" /t REG_BINARY /d "0000000013000000102d67209b6ecb01" /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /v "HRZR_EHACNGU:::{20Q04SR0-3NRN-1069-N2Q8-08002O30309Q}" /t REG_BINARY /d "000000000e000000102d67209b6ecb01" /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "WFlags" /t REG_DWORD /d 2 /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\Bags\2\Shell" /v "ShowCmd" /t REG_DWORD /d 3 /f
rem 刷新
PECMD KIll explorer.exe
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-11-17 04:50

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表