vanheartnet

ChromeRob

Nov 28th, 2019
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. #SingleInstance, Force
  2. Menu,Tray,Standard
  3. SetWorkingDir %A_ScriptDir%
  4. SetBatchLines, -1
  5.  
  6. ;~ ################################### CHROMEROBE V2 ############################################
  7.  
  8. IfNotExist,%A_ScriptDir%\reg\Roblox.reg
  9. {
  10. MsgBox,16,Error, Some files are missing or moved!!!`nPlease put the file in Roblox Portable Folder.`n`n-VANHEARTNET
  11. ExitApp
  12. }
  13. IfExist,ChromeRob.txt
  14. {
  15. Loop,read,ChromeRob.txt
  16. {
  17. Loop,parse,A_LoopReadLine,`n`r%A_Space%
  18. {
  19. Run, cmd.exe /c start "" "%A_LoopField%",,Hide
  20. MsgBox, %A_LoopField%
  21. }
  22. }
  23. }
  24. else
  25. {
  26. FileAppend,www.google.com,ChromeRob.txt
  27. FileRead,Page1,ChromeRob.txt
  28. Run, cmd.exe /c start "" "%Page1%",,Hide
  29. }
  30. RegDelete,HKEY_CURRENT_USER,Software\ROBLOX Corporation
  31. RegDelete,HKEY_CLASSES_ROOT,Roblox.Place
  32. RegDelete,HKEY_CLASSES_ROOT,roblox-player
  33. RegDelete,HKEY_CLASSES_ROOT,roblox-studio
  34. RegDelete,HKEY_LOCAL_MACHINE,SOFTWARE\ROBLOX Corporation
  35. RegDelete,HKEY_LOCAL_MACHINE,SOFTWARE\Wow6432Node\ROBLOX Corporation
  36. Sleep,2000
  37. FileRemoveDir,C:\Program Files (x86)\Roblox,1
  38. FileRemoveDir,C:\ProgramData\Roblox,1
  39. FileRemoveDir,C:\Users\%A_UserName%\AppData\Local\Roblox,1
  40. MKLINK:
  41. ;~ Com2 := A_UserName
  42. Run cmd.exe /c mklink /d "C:\Program Files (x86)\Roblox" "`%CD`%\Roblox" && mklink /d "C:\ProgramData\Roblox" "`%CD`%\Programdata\Roblox" && mklink /d "C:\Users\%A_UserName%\AppData\Local\Roblox" "`%CD`%\AppData\Roblox",,Hide
  43.  
  44. Run Regedit /s "%A_ScriptDir%\reg\Roblox.reg"
  45.  
  46. ExitApp
  47.  
  48. Delete::
  49. ExitApp
Advertisement
Add Comment
Please, Sign In to add comment