Hi, How do I delete a file, that is selected from a list box?
Printable View
Hi, How do I delete a file, that is selected from a list box?
Use KILL:
Call Kill("c:\file.txt")
WP
Code:Kill(List1.Text)
Also, change the path, to make sure you're in the right directory.
Code:ChDir "C:\MyDir"
Kill (List1.Text)