Advertisement
Guest User

Untitled

a guest
Jul 31st, 2018
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. echo This batch script will...
  2. echo - Sync card_db.ini from Google Drive folder to Duelit folder
  3. echo - Sync Assembly-CSharp.dll from Google Drive folder to Managed folder
  4. echo - Copy THE already existing shortcut for itself in Windows StartUp, so it will start upon boot
  5.  
  6.  
  7. powershell -Command "Invoke-WebRequest https://www.easyasfark.com/forum/attachment.php?aid=566 -OutFile %USERPROFILE%\Downloads\autoduel.rar"
  8. xcopy "%USERPROFILE%\Downloads\autoduel.rar" "%USERPROFILE%\Downloads\autoduel.zip" /y /i
  9. call zipjs.bat unzip -source C:\Users\Creat\Downloads\autoduel.zip -destination C:\Users\Creat\Google Drive\Duel Links\Assembly-CSharp.dll -keep yes -force yes
  10. rem powershell.exe -nologo -noprofile -command "& { $shell = New-Object -COM Shell.Application; $target = $shell.NameSpace('C:\Users\Creat\Google Drive\Duel Links\Assembly-CSharp.dll'); $zip = $shell.NameSpace('C:\Users\Creat\Downloads\autoduel.zip'); $target.CopyHere($zip.Items(), 16); }"
  11.  
  12. set ODcard_db="%USERPROFILE%\Google Drive\Duel Links\card_db.ini"
  13. set DIcard_db="%USERPROFILE%\Documents\DuelitPC\duelit\card_db.ini"
  14. for /l %%n in (1,0,10) do (
  15. rem ^ Infinite Loop: counting from 1 to 10 with an increment of 0
  16. xcopy %ODcard_db% %DIcard_db% /y /i
  17. xcopy "%USERPROFILE%\Google Drive\Duel Links\Assembly-CSharp.dll" "C:\Program Files (x86)\Steam\steamapps\common\Yu-Gi-Oh! Duel Links\dlpc_Data\Managed" /y /i
  18. xcopy "%USERPROFILE%\Google Drive\Duel Links\%~n0%~x0 - Shortcut.lnk" "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" /y /i
  19. ping localhost -n 11
  20. rem ^ in seconds
  21. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement