Adblock breaks this site

.bat file wont run on secondary computer??

Discussion in 'Programming General' started by Swagger1337, Jul 2, 2014.

  1. Swagger1337

    Swagger1337 Active Member

    Joined:
    Feb 6, 2014
    Posts:
    160
    Referrals:
    0
    Sythe Gold:
    77
    .bat file wont run on secondary computer??

    Solved
     
    Last edited: Aug 5, 2016
  2. Clashfan

    Clashfan Swim To The Moon
    Highly Respected Retired Administrator

    Joined:
    Sep 2, 2005
    Posts:
    3,973
    Referrals:
    1
    Sythe Gold:
    1
    Two Factor Authentication User
    .bat file wont run on secondary computer??

    I think the problem might be that your %HOMEPATH% contains a space on your server, and it doesn't on your other computer. Try putting quotes around the paths with %HOMEPATH%
    Code:
    del /F /S /Q "%HOMEPATH%\jagex*.*"
    del /F /S /Q "%HOMEPATH%\random.dat"
    ...
    xcopy JAGEXCACHE "%HOMEPATH%" /e /i /h /y
    Same thing with %APPDATA%
     
  3. Swagger1337

    Swagger1337 Active Member

    Joined:
    Feb 6, 2014
    Posts:
    160
    Referrals:
    0
    Sythe Gold:
    77
    .bat file wont run on secondary computer??

    Solved it :D Just put quotes around all locations

    Thanks alot man
     
< Need Help With Creating Website! | Software patent loses in supreme court 9-0 >


 
 
Adblock breaks this site