Jump to content

Need Help with Extra Quotes


kinji5

Recommended Posts

Greetings, I am trying to make this work in a RunOnceEx.cmd file

-------------------------------------------------------------------------

REG ADD %KEY%\034 /V 1 /D "c:\MsnMsgs75.msi IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE="" /qb- " /f

-------------------------------------------------------------------------

Where do I need to add the \" ?

I read serveral posts but I still can not get it to work.

thanks

Link to comment
Share on other sites


Simple answer…

The registry data, (indicated by the /D switch), should be sat inside double quotes i.e.

  • /D "your data in here"

Any double quotes needed within this data is simply prefixed with a backslash as an escape character, (\").

"C:\MsnMsgs75.msi IAGREE=\"Yes\" ADDEXPLORERTOOLBAR=\"\" SETSEARCHENGINE=\"\" SETHOMEPAGE=\"\" /qb-"

Edited by Yzöwl
Link to comment
Share on other sites

Simple answer…

The registry data, (indicated by the /D switch), should be sat inside double quotes i.e.

  • /D "your data in here"

Any double quotes needed within this data is simply prefixed with a backslash as an escape character, (\").

"C:\MsnMsgs75.msi IAGREE=\"Yes\" ADDEXPLORERTOOLBAR=\"\" SETSEARCHENGINE=\"\" SETHOMEPAGE=\"\" /qb-"

Thanks! that worked great! couldnt' believe it was so easy.. :thumbup

Link to comment
Share on other sites

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...