batchfile fails to delete unwanted files

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
Sebastian42
Posts: 34
Joined: 17 Feb 2017 02:28

Re: batchfile fails to delete unwanted files

#16 Post by Sebastian42 » 24 Sep 2023 23:39

Before I saw your latest post, it occurred to me that Batcher's had achieved the deletion that I wanted so I planned to use it.

I believed that my own batch file was good at copying the (latest) file back into C:\Data\Firefox\Bookmarks but that is was failing to delete file(s) already there, so ran my own batch file. Lo and behold - the dummy disappeared but several JSONLZ4s appeared, proving that my original batch file IS CAPABLE of deleting; and that I had got confused, and so misread the results - thinking it would not delete, but the actual problem being different. I have now CONFIRMED that my own code DOES delete and I need not look any further for a solution for THAT.

I am still not satisfied with that batch file, but for a different reason, so will do a new post stating the ACTUAL problem that needs solving.
Actually - NOT a NEW post, but resume one from 2021 which at that time I said was successful, but is no longer.
viewtopic.php?f=3&t=10268&e=1&view=unread#unread

Post Reply