ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Deleting files (https://www.excelbanter.com/excel-programming/291586-deleting-files.html)

Tony C[_2_]

Deleting files
 
I have written a module which will go through a
directory, opening, processing and saving files to
a 'done' directory.

I would like to delete the files in the source directory.

Thanks

Tom Ogilvy

Deleting files
 
use the kill command

Kill "c:\old directory\file1.xls"

--
Regards,
Tom Ogilvy

"Tony C" wrote in message
...
I have written a module which will go through a
directory, opening, processing and saving files to
a 'done' directory.

I would like to delete the files in the source directory.

Thanks





All times are GMT +1. The time now is 12:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com