Martin Zugec Posted January 7, 2005 Posted January 7, 2005 Hi! Got following problem:In RunOnce.bat I am preparing RunOnceEx registry key structure... Everything (well, almost) works fine, exceptREG ADD %KEY%\050 /VE /D "Remove Outlook Express shortcuts" /fREG ADD %KEY%\050 /V 1 /D "reg add \"HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}\" /v Stubpath /t REG_SZ /d \"\" /f" /fREG ADD %KEY%\050 /V 2 /D "reg delete \"HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\>{881dd1c5-3dcf-431b-b061-f3f88e8be88a}\" /f" /fV1 works fine, V2 got error Cannot find path... I think problem is here:>{881dd1c5-3dcf Anybody encountered this problem? Using \ (like with quotes) didnt help
Sidekicks Posted January 8, 2005 Posted January 8, 2005 You should put those reg keys in a batch file and have it execute. Look in the unattended guide on how to import registry fixes.
Yzöwl Posted January 8, 2005 Posted January 8, 2005 Everything looks to be okay, the cmd shell doesn't have any problems with the > character and your quotes etc are fine.Are you sure that the registry key actually exists? If it does, check that its key isn't protected somehow by the system, and also try it directly from a standard batch just in case its the Runoncex command structure which is having problems translating the > character.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now