VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to Delete one file and how to delete all files in folder one one line code

by Shahid Rasool (8 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 18th October 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

How to Delete one file and how to delete all files in folder one one line code

API Declarations


Email: me if you like my work in past
[email protected]
[email protected]


Rate How to Delete one file and how to delete all files in folder one one line code



Private Sub Command1_Click()
Kill ("C:\Folder\how.mp3")

End Sub

Private Sub Command2_Click()
Kill ("D:\songs\*.*")

End Sub

Download this snippet    Add to My Saved Code

How to Delete one file and how to delete all files in folder one one line code Comments

No comments have been posted about How to Delete one file and how to delete all files in folder one one line code. Why not be the first to post a comment about How to Delete one file and how to delete all files in folder one one line code.

Post your comment

Subject:
Message:
0/1000 characters