- 帖子
- 73
- 积分
- 115
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2010-11-13
|
本帖最后由 zhoubin 于 2021-8-1 16:49 编辑
如题:
在批处理卸载.cmd中,查找字符del %0 >NUL 2>NUL&cd ..&rd "%~dp0" >NUL 2>NUL&if not exist "%cd%\*" reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders" /f /v "C:\\Program Files\\Icsoft\\"
并在找到的行,行尾添加& reg delete "HKU\S-1-5-21-2955475268-2234008017-1310366641-1000\Software\Icsoft" /f
添加后的卸载.cmd效果del %0 >NUL 2>NUL&cd ..&rd "%~dp0" >NUL 2>NUL&if not exist "%cd%\*" reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders" /f /v "C:\\Program Files\\Icsoft\\" & reg delete "HKU\S-1-5-21-2955475268-2234008017-1310366641-1000\Software\Icsoft" /f
本人小白,不会写,谢谢各位了! |
|