Search found 34 matches

by Sebastian42
25 Sep 2023 03:14
Forum: DOS Batch Forum
Topic: copying the latest of some folders to a new destination
Replies: 10
Views: 6780

Re: copying the latest of some folders to a new destination

I tried your second one - it looked the simplest. It did no better than my own primitive efforts. Could you please tell me what the 'pause' achieves ? Your first one achieves what I want, so I repeat what I said in 2021 "That worked ! Thank you." For what it is worth - it is just alphabet soup to me...
by Sebastian42
25 Sep 2023 00:42
Forum: DOS Batch Forum
Topic: copying the latest of some folders to a new destination
Replies: 10
Views: 6780

Re: copying the latest of some folders to a new destination

I do not know when the success ended nor why, but that code no longer copies (any) file into the destination. Perhaps because I have shifted the goal posts. I do not remember why I wanted a FOLDER copied. I may have used the wrong term, actually meaning FILE - that is certainly what I want NOW in 20...
by Sebastian42
24 Sep 2023 23:39
Forum: DOS Batch Forum
Topic: batchfile fails to delete unwanted files
Replies: 15
Views: 8887

Re: batchfile fails to delete unwanted files

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 ...
by Sebastian42
24 Sep 2023 19:51
Forum: DOS Batch Forum
Topic: batchfile fails to delete unwanted files
Replies: 15
Views: 8887

Re: batchfile fails to delete unwanted files

I'll accept any blame that is due - in the hope that a solution to my problem will eventuate. 'You seem to be incapable of reading/following the most elementary instructions!' I have tried and apparently failed. 'This confirms that your problem file had no permissions problem.' I take that to be goo...
by Sebastian42
24 Sep 2023 15:26
Forum: DOS Batch Forum
Topic: batchfile fails to delete unwanted files
Replies: 15
Views: 8887

Re: batchfile fails to delete unwanted files

Oh jee ! bakker ! You must have made a mess of the oven contents ! (hahaha) Starting with the simplest instructions (right at the end) ..... I created a batch file from Batcher's code and ran it. Of course a DOS window opened - and stayed open without seeming to achieve anything, so I just closed it...
by Sebastian42
23 Sep 2023 20:23
Forum: DOS Batch Forum
Topic: batchfile fails to delete unwanted files
Replies: 15
Views: 8887

Re: batchfile fails to delete unwanted files

OJBaker - I started my post by saying that I can MANUALLY delete the file; does not that settle the issues of "A file can have file attributes preventing deletion, for example if a file is set to readonly. AND A file can also have security settings preventing deletion." I think it is quite likely th...
by Sebastian42
23 Sep 2023 06:44
Forum: DOS Batch Forum
Topic: batchfile fails to delete unwanted files
Replies: 15
Views: 8887

Re: batchfile fails to delete unwanted files

I'm not familiar with the term 'for loop', hence the "I don't understand" Unless I misunderstand you, you are suggesting that deletion will occur if I put the entire file name in quotes first. But that would require me to intervene 'manually' before applying the batchfile - which annuls the advantag...
by Sebastian42
22 Sep 2023 20:34
Forum: DOS Batch Forum
Topic: batchfile fails to delete unwanted files
Replies: 15
Views: 8887

Re: batchfile fails to delete unwanted files

OJBakker - you seem to be focusing on the deletion of multiple files - I would be satisfied if just ONE got deleted by batch file code. The code I have used and which fails is del /q C:\Data\Firefox\Bookmarks\*.jsonlz4 and also del C:\Data\Firefox\Bookmarks\*.jsonlz4 /q Notice that these files are C...
by Sebastian42
22 Sep 2023 20:25
Forum: DOS Batch Forum
Topic: batchfile fails to delete unwanted files
Replies: 15
Views: 8887

Re: batchfile fails to delete unwanted files

DOSadnie - I mean that if I click on those files and press the delete key, the files disappear - something I have NOT achieved when using a batch file.
by Sebastian42
22 Sep 2023 03:26
Forum: DOS Batch Forum
Topic: batchfile fails to delete unwanted files
Replies: 15
Views: 8887

batchfile fails to delete unwanted files

I have no trouble 'manually' deleting files with the extension .jsonlz4, preceded by '==', but want to do it by batchfile and keep failing. Can anyone help me with the right code to do this ? One example of such a file is 'bookmarks-2023-09-02_304_NTwyuxMm2eEdhF++Azc4Bw==.jsonlz4'
by Sebastian42
14 Nov 2022 20:57
Forum: DOS Batch Forum
Topic: What is the magic code ?
Replies: 2
Views: 2099

Re: What is the magic code ?

That solved it - THANK you.
by Sebastian42
14 Nov 2022 08:42
Forum: DOS Batch Forum
Topic: What is the magic code ?
Replies: 2
Views: 2099

What is the magic code ?

I want to routinely backup Chrome bookmarks to some folder; I want to simplify it by using a batch file. If I manually go to C:\Users\Joe\AppData\Local\Google\Chrome\User Data\Default\bookmarks, click on it, select COPY, open the destination, and click on PASTE in its context menu, I have success. B...
by Sebastian42
07 Nov 2021 16:43
Forum: DOS Batch Forum
Topic: triggering the running of a macro
Replies: 4
Views: 3571

Re: triggering the running of a macro

I wrote to the forum for MP3Tag and was told that the ACTIONS menu would solve my problem, but was not given the detailed steps. I investigated ACTIONS and saw the claim written in its 'documentation', but that is as far as it went. I have done much work in Macro Express and consulted with their dev...
by Sebastian42
07 Nov 2021 05:15
Forum: DOS Batch Forum
Topic: triggering the running of a macro
Replies: 4
Views: 3571

Re: triggering the running of a macro

Thanks for your reply. I'll look at exiftool, or persevere with the automation that Mp3Tag is supposed to provide....
by Sebastian42
06 Nov 2021 23:02
Forum: DOS Batch Forum
Topic: triggering the running of a macro
Replies: 4
Views: 3571

triggering the running of a macro

I wanted to automate a process on some files that MP3Tag can perform. The developers says that automation is available within that program, and I have seen that the Actions menu appears to offer that, but I have been unable to make it work for me. So I have looked for alternatives. I would normally ...