Jump to content

Recommended Posts

Posted

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 $Progs

But when I use this it doesnt work:

start /wait regsvr32.exe /s c:\Program Files\Google\GoogleToolbar1.dll

The dll file is there however.

If I put the Google folder in $1 and use this:

start /wait regsvr32.exe /s c:\Google\GoogleToolbar1.dll

It works perfectly.

So this works but its ugly. I want it in the Program Files directory.

I tried Program~

Program~Files

But neither of those worked?

What's the correct syntax for program files?

I run this from start.cmd

Thanks


Posted

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

:)

Posted

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"

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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