Jump to content

Recommended Posts

Posted

im trying to make a program run during my start.cmd. heres what i got

ECHO.

ECHO Installing Winrar 3.42

ECHO Please wait...

start /wait %systemdrive%\install\winrar\winrar.exe /s

COPY "%systemdrive%\install\winrar\program.exe" "%systemdrive%\Program Files\WinRAR"

COPY "%systemdrive%\install\winrar\Rarreg.key" "%systemdrive%\Program Files\WinRAR"

ECHO The winrar crack will now run just press ok! and then OK on the popup Then EXIT

PAUSE

start /wait %systemdrive%\program files\WinRAR\program.exe

but as you may know i get an error saying that c:/program is not found. the error is the the space in program files. i tried program%20files but nothing willl work please help


Posted

You need to add quotes because of the space in "Program Files":

ECHO.

ECHO Installing Winrar 3.42

ECHO Please wait...

start /wait %systemdrive%\install\winrar\winrar.exe /s

COPY "%systemdrive%\install\winrar\patch.exe" "\"%systemdrive%\Program Files\WinRAR\""

COPY "%systemdrive%\install\winrar\Rarreg.key" "\"%systemdrive%\Program Files\WinRAR\""

ECHO The winrar crack will now run just press CRACK!  and then OK Then EXIT

PAUSE

start /wait "%systemdrive%\program files\WinRAR\Patch.exe"

(Not sure if the quotes on the last line also need the backslash. I don't think so.)

But running a crack? Tsk, tsk. :no:

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