solohelp Posted August 22, 2004 Share Posted August 22, 2004 Hi-I've just about got everything I want in my CD. Just having a problem with the google toolbar.I have the Google folder in $ProgsBut when I use this it doesnt work:start /wait regsvr32.exe /s c:\Program Files\Google\GoogleToolbar1.dllThe dll file is there however.If I put the Google folder in $1 and use this:start /wait regsvr32.exe /s c:\Google\GoogleToolbar1.dllIt works perfectly.So this works but its ugly. I want it in the Program Files directory.I tried Program~Program~FilesBut neither of those worked?What's the correct syntax for program files?I run this from start.cmdThanks Link to comment Share on other sites More sharing options...
glent Posted August 22, 2004 Share Posted August 22, 2004 might be "program files" Link to comment Share on other sites More sharing options...
jdoe Posted August 22, 2004 Share Posted August 22, 2004 What glent mean is you forgot the quotes for the long file path.Your command should look like this...start /wait regsvr32.exe /s "c:\Program Files\Google\GoogleToolbar1.dll"Hope this help Link to comment Share on other sites More sharing options...
Adiel Posted August 22, 2004 Share Posted August 22, 2004 any1 knows if the syntax %ProgramFiles%\SomAppwill work?? Link to comment Share on other sites More sharing options...
jrzycrim Posted August 22, 2004 Share Posted August 22, 2004 Yes, that will work. You need quotes around it if the actual directory that %programfiles% refers to contains spaces or if any other part of the path contains spaces. "%ProgramFiles%\SomApp" Link to comment Share on other sites More sharing options...
Adiel Posted August 22, 2004 Share Posted August 22, 2004 oh ok thanks Link to comment Share on other sites More sharing options...
solohelp Posted August 22, 2004 Author Share Posted August 22, 2004 Duh-Thanks,I forgot the quotes in all my tests Link to comment Share on other sites More sharing options...
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