Hiya, It is quiet simple :) My.Computer.FileSystem.DeleteFile("MyFile.txt", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently) I write this line of code in VB but I'm sure that you will know where to put the funny little bracket things:confused: Hope it was helpful!
Lloyd J. Atkinson "Logic will get you from A to B, but imagination will take you everywhere" -ALbert Einstein