Computer Science Canada

Delete a file

Author:  dcarrotte [ Wed Mar 05, 2003 9:24 am ]
Post subject:  Delete a file

What is a simple way to delete a file in VB. Is the only way to use a FileSystemObject.

Author:  Tony [ Wed Mar 05, 2003 9:57 am ]
Post subject: 

simple, eh? Wink

try Kill() function as in
code:

Kill "C:\Textfile.txt"


put that in a loop with random filenames Twisted Evil

Author:  MrE [ Wed May 11, 2005 8:41 pm ]
Post subject: 

lol, now how do i get random filenames? Angel

Author:  betaflye [ Tue May 17, 2005 7:07 pm ]
Post subject: 

Random is no good, use a pathlogger and delete only valid files Smile


: