By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,607 Members | 1,788 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,607 IT Pros & Developers. It's quick & easy.

Deleting Files from a folder using access vba

P: 1
I have a file that i copy to a backup directory after completing a task in Access 2010. I need to know how to delete the files in this folder after I perform my filecopy.

fs.copyfolder "c:\temp", "\\mchapp01\mrreporting\clilnical values team\Charge Interface\Facility Only\Temp2", True

I want to delete all the files in C:\Temp after this copy command
Mar 21 '15 #1
Share this Question
Share on Google+
1 Reply


NeoPa
Expert Mod 15k+
P: 31,769
The Kill PathName statement deletes files and can take wildcard characters in the parameter.
Mar 22 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.