Jump to content

Recommended Posts

Posted

Have a little problem, can't figure it out what could be wrong.

It stops at 3 places saying that the entry is always there ( or something similar ). I first thought it was of the copy, because accident or not that is what is on each of those lines where it stops.

Here are the entry's , hope someone can help

REG ADD %KEY%\015 /VE /D "PoTrace" /f
REG ADD %KEY%\015 /V 1 /D "cmd /c mkdir %programfiles%\potrace" /f
REG ADD %KEY%\015 /V 2 /D "cmd /c copy %systemdrive%\install\Apps\potrace\* %programfiles%\potrace\" /f

REG ADD %KEY%\075 /VE /D "Netlimiter" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\Apps\NetLimiter\nl_v130.exe /S" /f
REG ADD %KEY%\075 /V 2 /D "cmd /c del /F %programfiles%\NetLimiter\NetLimiter.exe" /f
REG ADD %KEY%\075 /V 3 /D "cmd /c copy %systemdrive%\install\Apps\NetLimiter\NetLimiter.exe %programfiles%\NetLimiter\" /f

REG ADD %KEY%\080 /VE /D "PDFReader" /f
REG ADD %KEY%\080 /V 1 /D "cmd /c mkdir %programfiles%\PDFReader" /f
REG ADD %KEY%\080 /V 2 /D "cmd /c copy %systemdrive%\install\Apps\PDFReader\* %programfiles%\PDFReader\" /f

Stops at 15:2 75:3 80:2

each time saying "Value X exists, overwrite(Y/N)"

But I don't have any double so no idea where he gets that error message anyway.

Neither sure if I really have to use the cmd /c each time, put it there just to be sure. Since someone put in one of the threads it isn't aware of any shell commands as copy del and such untill you launch one.


Posted

i'm not sure if those cmd lines will work, but regardless it's just a syntax error. Remove the trailing \ in those lines (just before the last quote).

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