VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Copy a file 1 line of code Delete all files in folder 1 line of code delete a folder 1 line of code

by Chris Gare (3 Submissions)
Category: Math/Dates
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 26th April 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Copy a file 1 line of code Delete all files in folder 1 line of code delete a folder 1 line of code create a folder 1 line of code

Rate Copy a file 1 line of code Delete all files in folder 1 line of code delete a folder 1 line of code



FileCopy "c:\a.txt", "c:\program files\a.txt"

' deletes all files in c:\folder
Kill "c:\folder\*.*"

' to delete 1 file
kill file.txt

' Deletes the dir called folder
RmDir "c:\folder" 

' Create a folder called help
MkDir "C:\help"

Download this snippet    Add to My Saved Code

Copy a file 1 line of code Delete all files in folder 1 line of code delete a folder 1 line of code Comments

No comments have been posted about Copy a file 1 line of code Delete all files in folder 1 line of code delete a folder 1 line of code. Why not be the first to post a comment about Copy a file 1 line of code Delete all files in folder 1 line of code delete a folder 1 line of code.

Post your comment

Subject:
Message:
0/1000 characters