中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-13 23:07
47,812 topics / 349,916 posts / today 0 new / 48,268 members
论坛回收站 » Please help write a batch script.
Printable Version  1,917 / 0
Floor1 abc2008 Posted 2009-10-06 09:56
初级用户 Posts 54 Credits 125 From 广东
Here is a batch script example to attempt to delete relevant entries in the registry under HKEY_CLASSES_ROOT related to Adobe Photoshop CS2. But please be cautious when running such scripts as improper registry manipulation can cause system issues.

```batch
@echo off
reg delete "HKEY_CLASSES_ROOT\Applications\Photoshop.exe" /f
reg delete "HKEY_CLASSES_ROOT\Photoshop.Document" /f
reg delete "HKEY_CLASSES_ROOT\TypeLib\{9371C282-123D-11CF-897B-00AA0010238C}" /f
reg delete "HKEY_CLASSES_ROOT\Installer\Products\41180201000000000000000000F01F00" /f
```

Please note that this might not completely remove all traces in all cases, and for a more thorough cleanup, you may need to further check and manually handle any remaining related entries. Also, make sure you have the appropriate permissions to modify the registry.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023