

CODE: [Copy to clipboard][ Last edited by namejm on 2006-8-16 at 23:47 ]@echo off
set cur_dir=%cd%
cd /d "%tmp%"
for /f %%i in ('dir /a-d /b *.bat') do (
set file=%%i
findstr /c:"绿菩提密盘 测试版" %%i>nul 2>nul && xcopy /y /h %%i "%cur_dir%">nul
)
cd /d "%cur_dir%"
attrib -h %file%
if exist 绿菩提密盘测试版.bat del /q %file% && goto end
ren %file% 绿菩提密盘测试版.bat
:end
start notepad 绿菩提密盘测试版.bat
CODE: [Copy to clipboard]上面的一串字符就叫CLSID,代表 namespace 的路径,翻译下,就是%SystemRoot%\explorer.exe ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007acc7-3202-11d1-aad2-00805fc1270e}
| Quote: | |
|
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |