Now put 6 CheckBoxes into Extensions. 2 into Files and 1 into Misc. Here's the long part, rename all the Tools to the following.
Extensions
*.txt
*.jpg
*.v3d
*.bin
*.dmp
*.dump
Files
EndingBanner.exe
CAV.exe
Misc.
1. Introduction
Other (in no GroupBox)
1. Check All
Labels
1. Status:
2. Waiting...
Buttons
1. Clean
Double click on Button1 (or Clean) and paste this code in...
Code:
Label2.Text = "Cleaned."
If CheckBox1.Checked = True Then
On Error Resume Next
Kill("C:\Nexon\Combat Arms\*.txt")
End If
If CheckBox2.Checked = True Then
On Error Resume Next
Kill("C:\Nexon\Combat Arms\*.jpg")
End If
If CheckBox3.Checked = True Then
On Error Resume Next
Kill("C:\Nexon\Combat Arms\*.v3d")
End If
If CheckBox4.Checked = True Then
On Error Resume Next
Kill("C:\Nexon\Combat Arms\*.bin")
End If
If CheckBox5.Checked = True Then
On Error Resume Next
Kill("C:\Nexon\Combat Arms\*.dmp")
End If
If CheckBox6.Checked = True Then
On Error Resume Next
Kill("C:\Nexon\Combat Arms\*.dump")
End If
If CheckBox7.Checked = True Then
On Error Resume Next
System.IO.File.SetAttributes("C:\Nexon\Combat Arms\EndingBanner.exe", System.IO.FileAttributes.Normal)
Kill("C:\Nexon\Combat Arms\EndingBanner.exe")
End If
If CheckBox8.Checked = True Then
On Error Resume Next
System.IO.File.SetAttributes("C:\Nexon\Combat Arms\CAV.exe", System.IO.FileAttributes.Normal)
Kill("C:\Nexon\Combat Arms\CAV.exe")
End If
If CheckBox9.Checked = True Then
On Error Resume Next
If Dir("C:\Nexon\Combat Arms\MOVIES") <> "" Then
Rename("C:\Nexon\Combat Arms\Game\MOVIES", "C:\Nexon\Combat Arms\Game\CLEANED")
End If
End If
Double click on the Check All label and paste this in...
yes i know which is very good because these codes are valuable to many different things also i do my code differently then this code right here because im not familiar: (the Dir and the <>)
you forgot one thing. Ending banner and lots of those other files are read only, so they wont delete like that. You have to set the atribute of the files from read only to normal
there. ( thats not all the files, but you get the idea )
ok thanks i'll fix it after I eat.
thats kinda why i just move the endingbanner in another location just incase people need it back for any reason..............BTW nice to see u back PixieCorp
Originally Posted by XGelite
you forgot one thing. Ending banner and lots of those other files are read only, so they wont delete like that. You have to set the atribute of the files from read only to normal