.bat file wont run on secondary computer??

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

.bat file wont run on secondary computer??
  1. Unread #1 - Jul 2, 2014 at 10:57 PM
  2. Swagger1337
    Joined:
    Feb 6, 2014
    Posts:
    160
    Referrals:
    0
    Sythe Gold:
    77

    Swagger1337 Active Member

    .bat file wont run on secondary computer??

    Solved
     
    Last edited: Aug 5, 2016
  3. Unread #2 - Jul 2, 2014 at 11:58 PM
  4. Clashfan
    Joined:
    Sep 2, 2005
    Posts:
    3,973
    Referrals:
    1
    Sythe Gold:
    1
    Two Factor Authentication User

    Clashfan Swim To The Moon
    Highly Respected Retired Administrator

    .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%
     
  5. Unread #3 - Jul 3, 2014 at 8:46 AM
  6. Swagger1337
    Joined:
    Feb 6, 2014
    Posts:
    160
    Referrals:
    0
    Sythe Gold:
    77

    Swagger1337 Active Member

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

Users viewing this thread
1 guest


 
 
Adblock breaks this site