Jump to content

Recommended Posts

Posted

Hi! Got following problem:

In RunOnce.bat I am preparing RunOnceEx registry key structure... Everything (well, almost) works fine, except

REG ADD %KEY%\050 /VE /D "Remove Outlook Express shortcuts" /f

REG 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" /f

REG ADD %KEY%\050 /V 2 /D "reg delete \"HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\>{881dd1c5-3dcf-431b-b061-f3f88e8be88a}\" /f" /f

V1 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 :(


Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...