web sailor Posted October 26, 2006 Posted October 26, 2006 Hello every oneHow i can delete file after 7 days, i mean: i will send file to my friends and i want the VB file to delete it after 7 days.i'm using visual basic 6
jftuga Posted October 27, 2006 Posted October 27, 2006 If you can get VB to call a command-line program, then you can use delen. It has this type of functionality built-in.http://www.geocities.com/jadoxa/delenxrd/-John
LLXX Posted October 27, 2006 Posted October 27, 2006 Spawn a command shell with the delete command.http://www.developerfusion.co.uk/show/9/...may I ask why you want to do this?
jftuga Posted October 27, 2006 Posted October 27, 2006 I don't know about the OP, but I backup a weeks worth of files and then want the older archive files erased after a week, thus only keeping the 7 newest backups.-John
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now