China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-29 10:58
中国DOS联盟论坛 » 论坛回收站 » Please help write a batch script. View 1,815 Replies 0
Original Poster Posted 2009-10-06 09:56 ·  中国 香港 城市电讯有限公司
初级用户
★★
Credits 125
Posts 54
Joined 2008-03-02 19:33
18-year member
UID 111886
Gender Male
From 广东
Status Offline
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.
Forum Jump: