hello
I want to uninstall a program using a command file.
I get uninstall information from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
if run it from command line work perfect but if I put in a delete.cmd file I have error " file not found. "
uninstall info is
"C:\WINDOWS\system32\SpoonUninstall.exe" <uninstall>C:\WINDOWS\system32\SpoonUninstall-dBpoweramp Windows Media Audio 10 Codec.dat
I think the colored text syntax is wrong .....
I appreciate any idea ,
bach file for uninstall a program
Moderator: DosItHelp
Re: bach file for uninstall a program
Hmm, each program has its own uninstall string. If you found <uninstall> in it then it's probably not wrong. On the other hand < and > are characters with a special meaning in a batch file. So you could try to escape them.
^<uninstall^>
Hope this will work.
aGerman
^<uninstall^>
Hope this will work.
aGerman
Re: bach file for uninstall a program
my fault ,I forget the redirect caracters ,uninstall work nice with your suggestion.
thank's the quick help ,
thank's the quick help ,