HShield automatic file mover - Batch Script

Posts 1–15 of 32 · Page 1 of 3
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 >> http://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
21 views and no one thought this was useful. Wow.

Well whatever its handy as shit.
It is useful but most people don't know how to use information like this. Don't blame them for being idiots.
Good post, very useful.
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
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
Quote Originally Posted by Shark 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.
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
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
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
write at the top to copy it into notepad and save it as a .bat file
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
whats the best place to put this

and do we double click it before running combat arms?
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.
HShieldChanger.rarattachment deleted · 19 downloads before removal
Posts 1–15 of 32 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

Talk with us