Advertisement
almahmud

Shortcut virus remover

Feb 8th, 2014
828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo off
  2. color 9f
  3. cls
  4. if exist editer.bat goto Finish
  5. set /p var= < ShortcutVirusRemover.bat
  6. set var=%var:~0,1%
  7. echo.
  8. echo  """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  9. echo  "         ____   _   _   _____   ____   ______  ____  _   _   ______         "
  10. echo  "         |      |   ||  /   \\  |  ||    ||    |     |   ||    ||           "
  11. echo  "         |___   |___||  |   ||  |__||    ||    |     |   ||    ||           "
  12. echo  "            ||  |   ||  |   ||  | \\     ||    |     |   ||    ||           "
  13. echo  "         ___||  |   ||  \___//  |  \\    ||    |___  \___//    ||           "
  14. echo  "                                                                            "
  15. echo  "                                                                            "
  16. echo  " _    _ __ ____  _   _  ____     ____   ___         ____  _    _  ___ ____  "
  17. echo  " |   || || |  || |   || |        |  || ||   |\  /|| /  \\ |   || ||   |  || "
  18. echo  " \    / || |__|| |   || |__      |__|| ||__ | \/ || |  || \    / ||__ |__|| "
  19. echo  "  \  /  || | \\  |   ||    ||    | \\  ||   |    || |  ||  \  /  ||   | \\  "
  20. echo  "   \/   || |  \\ \___// ___||    |  \\ ||__ |    || \__//   \/   ||__ |  \\ "
  21. echo  "                                                                           "
  22. echo  """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  23. echo.
  24. echo.
  25. echo    Recommend only to use for External Devises.
  26. echo.
  27. echo.
  28. echo    Shortcut Virus Remover is going to repair your Flash drive........
  29. echo.
  30. pause
  31. cls
  32. echo.
  33. echo.
  34. echo.
  35. echo.
  36. echo    Cleaning process will take few seconds..........
  37. echo    Please wait..........
  38. echo.
  39. echo.
  40. echo.
  41. del *.lnk
  42. dir /b /a >log.txt
  43. attrib +s +h log.txt
  44. if %var%==e echo cls >t.bat
  45. if %var%==c echo batch job set >t.bat
  46. if %var%==b echo subset keyN >t.bat
  47. if %var%==s echo usb port set >t.bat
  48. if %var%==u echo memorry clear set >t.bat
  49. attrib +s +h t.bat
  50. cls
  51. echo.
  52. echo.
  53. echo    Removing Shortcuts...........     Complete.
  54. echo.
  55. echo.
  56. echo.
  57. echo    Make visible your folder...........     is in process..........
  58. echo    This process will take few minutes..........
  59. echo.
  60. echo    Please wait..........
  61. for /F "delims=,  " %%f in (log.txt) do attrib -r -s -h "%%f"
  62. attrib -s -h log.txt
  63. del log.txt
  64. echo attrib -s -h t.bat >editer.bat
  65. echo if not exist t.bat del *.bat >>editer.bat
  66. echo copy t.bat+ShortcutVirusRemover.bat new.bat >>editer.bat
  67. echo del t.bat >>editer.bat
  68. echo del ShortcutVirusRemover.bat >>editer.bat
  69. echo ren new.bat ShortcutVirusRemover.bat >>editer.bat
  70. echo start "%cd%\" ShortcutVirusRemover.bat >>editer.bat
  71. echo exit >>editer.bat
  72. start /min /d "%cd%\" editer.bat
  73. goto End
  74. :Finish
  75. del editer.bat
  76. cls
  77. echo.
  78. echo.
  79. echo     Recovering Process Complete.
  80. echo.
  81. echo     Your Flash drive is OK now
  82. echo.
  83. echo.
  84. echo.
  85. echo.
  86. echo               *** IMPORTANT  ***
  87. echo.
  88. echo       1.  Select Flash Drive window and press F5 to Refresh your data.
  89. echo.
  90. echo       2.  Check your Flash drive for unknown files and folders.
  91. echo         If there is any, delete them.
  92. echo.
  93. echo.
  94. echo.
  95. echo           coding by Abdullah Almahmud with Eranda.
  96. echo.
  97. echo           Please Visit www.bdwap.co.gp
  98. echo.
  99. echo.
  100. pause
  101. :End
  102. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement