Page 1 of 3 123 LastLast
Results 1 to 15 of 32
  1. #1
    Divine Will's Avatar
    Join Date
    Dec 2008
    Posts
    17
    Reputation
    10
    Thanks
    8

    Fix DC problem - Batch Script!

    Just whipped this up real fast, it's a batch script to quickly move your *.dll's *.env's and *.exe's to a folder called Update2 inside your HShield folder. It detects if it needs to put them back as well, and does so.

    Hope you find this usefull.
    Also: To use this simply paste the text into notepad and save as a .bat file. Then just double click your new file.

    Download >> https://www.*********.com/file/z3zgly <<

    @echo off
    echo Combat Arms HShield Patcher -- Divine Will
    echo.
    cd/
    if exist "C:NexonCombat ArmsHShieldHSUpdate.exe" (goto moveToUpdate2)
    if not exist "C:NexonCombat ArmsHShieldHSUpdate.exe" (goto moveBack)
    pause

    :moveToUpdate2
    echo Moving to update2
    pause>nul
    move /y "C:NexonCombat ArmsHShield*.dll" "C:NexonCombat ArmsHShieldUpdate2"
    move /y "C:NexonCombat ArmsHShield*.env" "C:NexonCombat ArmsHShieldUpdate2"
    move /y "C:NexonCombat ArmsHShield*.exe" "C:NexonCombat ArmsHShieldUpdate2"
    pause>nul
    goto end

    :moveBack
    echo Moving files back
    pause>nul
    cd/
    copy "C:NexonCombat ArmsHShieldUpdate2*.*" "C:NexonCombat ArmsHShield"
    pause>nul
    goto end

    :end
    exit
    Last edited by Divine Will; 12-23-2008 at 06:34 PM. Reason: forward slashes were removed.

  2. The Following 4 Users Say Thank You to Divine Will For This Useful Post:

    carbon23 (12-23-2008),FireRebel (12-23-2008),genzo69 (12-23-2008),SantaRyan15 (12-23-2008)

  3. #2
    Divine Will's Avatar
    Join Date
    Dec 2008
    Posts
    17
    Reputation
    10
    Thanks
    8
    21 views and no one thought this was useful. Wow.

    Well whatever its handy as shit.

  4. #3
    GladiatorLD's Avatar
    Join Date
    Aug 2007
    Posts
    24
    Reputation
    10
    Thanks
    15
    It is useful but most people don't know how to use information like this. Don't blame them for being idiots.

  5. #4
    dr1nkm1lk's Avatar
    Join Date
    Oct 2008
    Location
    Scripting VB in my basement, and eating Cheezies.
    Posts
    378
    Reputation
    11
    Thanks
    58
    Good post, very useful.

  6. #5
    Divine Will's Avatar
    Join Date
    Dec 2008
    Posts
    17
    Reputation
    10
    Thanks
    8
    Thank you both, and yes I feel sorry for the people who dont know how to paste something into notepad and save lol.

    But oh well, thanks you two

  7. #6
    FireRebel's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    13
    This won't work for people who's drive isn't C will it? You should make it detect it's current drive, because mine is D. I don't know how to do this but here's a link that may help you. Script to detect current drive letter - Neowin Forums

    Otherwise, very useful. Thanks.

  8. #7
    Shark's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    6,057
    Reputation
    118
    Thanks
    651
    My Mood
    Mellow
    There are a few errors.
    Let me try to fix.
    Code:
    @echo off
    echo Combat Arms HShield Patcher -- Divine Will --Edited by SnilNotSnail
    echo.
    cd/
    if exist "C:Nexon/Combat Arms/HShield/HSUpdate.exe" (goto moveToUpdate2)
    if not exist "C:Nexon/Combat Arms/HShield/HSUpdate.exe" (goto moveBack)
    pause
    
    :moveToUpdate2
    echo Moving to update2
    pause>nul
    move /y "C:Nexon/Combat Arms/HShield*.dll" "C:Nexon/Combat Arms/HShield/Update2"
    move /y "C:Nexon/Combat Arms/HShield*.env" "C:Nexon/Combat Arms/HShield/Update2"
    move /y "C:Nexon/Combat Arms/HShield*.exe" "C:Nexon/Combat Arms/HShield/Update2"
    pause>nul
    goto end
    
    :moveBack
    echo Moving files back
    pause>nul
    cd/
    copy "C:Nexon/Combat Arms/HShield/Update2*.*" "C:Nexon/Combat Arms/HShield"
    pause>nul
    goto end
    
    :end
    exit
    Last edited by Shark; 12-23-2008 at 04:12 PM.
    Bibamus, gaudeamus.

  9. #8
    Divine Will's Avatar
    Join Date
    Dec 2008
    Posts
    17
    Reputation
    10
    Thanks
    8
    Quote Originally Posted by SnilNotSnail View Post
    There are a few errors.
    Let me try to fix.
    Code:
    @echo off
    echo Combat Arms HShield Patcher -- Divine Will --Edited by SnilNotSnail
    echo.
    cd/
    if exist "C:Nexon/Combat Arms/HShield/HSUpdate.exe" (goto moveToUpdate2)
    if not exist "C:Nexon/Combat Arms/HShield/HSUpdate.exe" (goto moveBack)
    pause
    
    :moveToUpdate2
    echo Moving to update2
    pause>nul
    move /y "C:Nexon/Combat Arms/HShield*.dll" "C:Nexon/Combat Arms/HShield/Update2"
    move /y "C:Nexon/Combat Arms/HShield*.env" "C:Nexon/Combat Arms/HShield/Update2"
    move /y "C:Nexon/Combat Arms/HShield*.exe" "C:Nexon/Combat Arms/HShield/Update2"
    pause>nul
    goto end
    
    :moveBack
    echo Moving files back
    pause>nul
    cd/
    copy "C:Nexon/Combat Arms/HShield/Update2*.*" "C:Nexon/Combat Arms/HShield"
    pause>nul
    goto end
    
    :end
    exit
    Didnt realize that C:\ was incorrect? Can you explain why please and thank you

    Also, I'll give that a shot as well, that is.. detecting the drive.

  10. #9
    Shark's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    6,057
    Reputation
    118
    Thanks
    651
    My Mood
    Mellow
    I messed up too. Hold on....

    Try this:
    Code:
    @echo off
    echo Combat Arms HShield Patcher -- Divine Will -- Edited by SnilNotSnail
    echo.
    cd/
    if exist "C:Nexon/Combat Arms/HShield/HSUpdate.exe" (goto moveToUpdate2)
    if not exist "C:/Nexon/Combat Arms/HShield/HSUpdate.exe" (goto moveBack)
    pause
    
    :moveToUpdate2
    echo Moving to update2
    pause>nul
    move /y "C:/Nexon/Combat Arms/HShield*.dll" "C:/Nexon/Combat Arms/HShield/Update2"
    move /y "C:/Nexon/Combat Arms/HShield*.env" "C:/Nexon/Combat Arms/HShield/Update2"
    move /y "C:/Nexon/Combat Arms/HShield*.exe" "C:/Nexon/Combat Arms/HShield/Update2"
    pause>nul
    goto end
    
    :moveBack
    echo Moving files back
    pause>nul
    cd/
    copy "C:/Nexon/Combat Arms/HShield/Update2*.*" "C:/Nexon/Combat Arms/HShield"
    pause>nul
    goto end
    
    :end
    exit
    Bibamus, gaudeamus.

  11. #10
    bbeennnneett's Avatar
    Join Date
    Dec 2008
    Posts
    15
    Reputation
    10
    Thanks
    0
    write at the top to copy it into notepad and save it as a .bat file

  12. #11
    Shark's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    6,057
    Reputation
    118
    Thanks
    651
    My Mood
    Mellow
    He did.
    One [hopefully] final revision:

    Code:
    @echo off
    echo Combat Arms HShield Patcher -- Divine Will -- Edited by SnilNotSnail
    echo.
    cd/
    if exist "C:Nexon/Combat Arms/HShield/HSUpdate.exe" (goto moveToUpdate2)
    if not exist "C:/Nexon/Combat Arms/HShield/HSUpdate.exe" (goto moveBack)
    pause
    
    :moveToUpdate2
    echo Moving to update2
    pause>nul
    move /y "C:/Nexon/Combat Arms/HShield/HSInst.dll" "C:/Nexon/Combat Arms/HShield/Update2"
    move /y "C:/Nexon/Combat Arms/HShield/HSUpdate.env" "C:/Nexon/Combat Arms/HShield/Update2"
    move /y "C:/Nexon/Combat Arms/HShield/HSUpdate.exe" "C:/Nexon/Combat Arms/HShield/Update2"
    pause>nul
    goto end
    
    :moveBack
    echo Moving files back
    pause>nul
    cd/
    copy "C:/Nexon/Combat Arms/HShield/Update2/HSInst.dll" "C:/Nexon/Combat Arms/HShield"
    copy "C:/Nexon/Combat Arms/HShield/Update2/HSUpdate.env" "C:/Nexon/Combat Arms/HShield"
    copy "C:/Nexon/Combat Arms/HShield/Update2/HSUpdate.exe" "C:/Nexon/Combat Arms/HShield"
    pause>nul
    goto end
    
    :end
    exit
    Last edited by Shark; 12-23-2008 at 04:28 PM.
    Bibamus, gaudeamus.

  13. The Following User Says Thank You to Shark For This Useful Post:

    William415 (03-11-2009)

  14. #12
    littleindia70's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Cynical
    whats the best place to put this

    and do we double click it before running combat arms?
    Last edited by littleindia70; 12-23-2008 at 04:32 PM. Reason: forgot to type something

  15. #13
    Shark's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    6,057
    Reputation
    118
    Thanks
    651
    My Mood
    Mellow
    Code:
    @echo off
    echo Combat Arms HShield Patcher -- Divine Will -- Edited by SnilNotSnail
    echo.
    cd/
    if exist "C:NexonCombat ArmsHShieldHSUpdate.exe" (goto moveToUpdate2)
    if not exist "C:NexonCombat ArmsHShieldHSUpdate.exe" (goto moveBack)
    pause
    
    :moveToUpdate2
    echo Moving to update2
    pause>nul
    move /y "C:NexonCombat ArmsHShieldHSInst.dll" "C:NexonCombat ArmsHShieldUpdate2"
    move /y "C:NexonCombat ArmsHShieldHSUpdate.env" "C:NexonCombat ArmsHShieldUpdate2"
    move /y "C:NexonCombat ArmsHShieldHSUpdate.exe" "C:NexonCombat ArmsHShieldUpdate2"
    pause>nul
    goto end
    
    :moveBack
    echo Moving files back
    pause>nul
    cd/
    copy "C:NexonCombat ArmsHShieldUpdate2HSInst.dll" "C:NexonCombat ArmsHShield"
    copy "C:NexonCombat ArmsHShieldUpdate2HSUpdate.env" "C:NexonCombat ArmsHShield"
    copy "C:NexonCombat ArmsHShieldUpdate2HSUpdate.exe" "C:NexonCombat ArmsHShield"
    pause>nul
    goto end
    
    :end
    exit
    I think I finally got it.

    I uploaded a rar with the .bat file in it.
    Bibamus, gaudeamus.

  16. #14
    littleindia70's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Cynical
    you made a really silly mistake the code is

    @echo off
    echo Combat Arms HShield Patcher -- Divine Will -- Edited by SnilNotSnail -- Littleindia70
    echo.
    cd/
    if exist "C:\Nexon\Combat Arms\HShield\HSUpdate.exe" (goto moveToUpdate2)
    if not exist "C:\Nexon\Combat Arms\HShield\HSUpdate.exe" (goto moveBack)
    pause

    :moveToUpdate2
    echo Moving to update2
    pause>nul
    move /y "C:\Nexon\Combat Arms\HShield*.dll" "C:\Nexon\Combat Arms\HShield\Update2"
    move /y "C:\Nexon\Combat Arms\HShield*.env" "C:\Nexon\Combat Arms\HShield\Update2"
    move /y "C:\Nexon\Combat Arms\HShield*.exe" "C:\Nexon\Combat Arms\HShield\Update2"
    pause>nul
    goto end

    :moveBack
    echo Moving files back
    pause>nul
    cd/
    copy "C:\Nexon\Combat Arms\HShield\Update2*.*" "C:\Nexon\Combat Arms\HShield"
    pause>nul
    goto end

    :end
    exit

  17. #15
    littleindia70's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Cynical
    use this i think its right now

    Try this:
    Code:
    @echo off
    echo Combat Arms HShield Patcher -- Divine Will -- Edited by SnilNotSnail
    echo.
    cd/
    if exist "C:NexonCombat ArmsHShieldHSUpdate.exe" (goto moveToUpdate2)
    if not exist "C:NexonCombat ArmsHShieldHSUpdate.exe" (goto moveBack)
    pause
    
    :moveToUpdate2
    echo Moving to update2
    pause>nul
    move /y "C:NexonCombat ArmsHShield*.dll" "C:NexonCombat ArmsHShieldUpdate2"
    move /y "C:NexonCombat ArmsHShield*.env" "C:NexonCombat ArmsHShieldUpdate2"
    move /y "C:NexonCombat ArmsHShield*.exe" "C:NexonCombat ArmsHShieldUpdate2"
    pause>nul
    goto end
    
    :moveBack
    echo Moving files back
    pause>nul
    cd/
    copy "C:NexonCombat ArmsHShieldUpdate2*.*" "C:NexonCombat ArmsHShield"
    pause>nul
    goto end
    
    :end
    exit

Page 1 of 3 123 LastLast

Similar Threads

  1. [Release] Some Fun Batch Scripts! (And one not so fun)
    By Fogest in forum General Hacking
    Replies: 3
    Last Post: 05-14-2011, 07:20 AM
  2. [Help]File Mover
    By Cryptonic in forum Visual Basic Programming
    Replies: 12
    Last Post: 01-20-2011, 09:18 PM
  3. .REZ File Mover
    By User1 in forum Combat Arms Mods & Rez Modding
    Replies: 11
    Last Post: 12-13-2009, 11:27 PM
  4. Combat Arms REZ file Mover[Easy To use]
    By Zoom in forum Combat Arms Mod Discussion
    Replies: 10
    Last Post: 12-13-2009, 06:22 AM
  5. Making A Batch File In Visual Basic
    By condor01 in forum Visual Basic Programming
    Replies: 0
    Last Post: 10-29-2007, 08:46 AM

Tags for this Thread