![]() |
Copy Files (purge)
I have used this action quite a bit and it has worked well but... I would like to retain the directory but delete ALL of the contents. The current purge deletes everything INCLUDING the folder specified.
Example: D:\VBPro\temp. Purge Action deletes not only the contents of temp but temp itself. What can I do to retain the specified folder? Thanks.... |
Purging files without deleting folders is not an option in the Copy Files action. You could use a Run Program action with a command of
%DOSCMD% del "D:\VBPro\temp" /s/f/q |
Sorry to re-open this but I wondered if the status has changed at all? It would be very useful to be able to purge out certain types of files but if that leaves the folder empty, I would still like to retain the structure. The folders won't always be empty as I am only deleting certain types of files and not all.
Thanks... |
Sure -- use the Delete Files action with 'Delete empty folders' unchecked.
|
Excellent! Can't keep up with the new actions added. Thanks!
|
All times are GMT -5. The time now is 07:48 AM. |
Copyright © 1999-2023 Kinook Software, Inc.