Originally posted by Hanyeguxing at 2011-1-21 16:35:
改cpl扩展名和禁止使用控制面板是两回事
该不能处理的敏感字符依旧不能处理:@echo off
rem 设置源扩展名
set x0=.bat
rem 设置目标扩展名
set x1=.c ...
1、首先,谢谢!!
2、我试验过,把“C:\WINDOWS\system32”下,所有的“*.cpl”文件,后缀名都改为bbb后,任何控制面板项目,都不能使用!
3、网上流传的,通过修改注册表来禁止控制面板的方法,有的机子无效。比如我本人的机子。
4、最难的是——如何用批处理改回来,您有好的代码吗?
5、还有,您的代码不能打包为exe后,交给菜鸟使用。而我的代码可以
Last edited by lujice on 2011-1-21 at 16:45 ]
Originally posted by Hanyeguxing at 2011-1-21 16:35:
Changing the .cpl extension and prohibiting the use of the Control Panel are two different things
The sensitive characters that cannot be processed still cannot be processed: @echo off
rem Set source extension
set x0=.bat
rem Set target extension
set x1=.c ...
1、First of all, thank you!!
2、I have tested that after changing all the ".cpl" files in "C:\WINDOWS\system32" to ".bbb" extensions, no Control Panel items can be used!
3、The method of prohibiting the Control Panel by modifying the registry circulating on the Internet is ineffective for some computers. For example, my own computer.
4、The most difficult thing is - how to use a batch script to change it back. Do you have a good code?
5、Also, your code cannot be packaged into an exe for novice users to use. But my code can
Last edited by lujice on 2011-1-21 at 16:45 ]