无忧启动论坛
标题:
求助 如何用批处理改变文件夹窗口大小和查看方式
[打印本页]
作者:
807979023
时间:
2010-10-21 08:20
标题:
求助 如何用批处理改变文件夹窗口大小和查看方式
在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
欢迎光临 无忧启动论坛 (http://wuyou.net./)
Powered by Discuz! X3.3