Search found 4 matches

by Anomaly-XB-6783
16 Jan 2016 03:51
Forum: DOS Batch Forum
Topic: delete command
Replies: 6
Views: 3084

Re: delete command

Almost perfect. The video file got deleted but not the .srt file. But I've figured out that I just have to ad "%%~dpnA.srt" at the end and it worked fine. Thank you very very much. I've googled it so long before I found this forum here. Vielen Dank. the code looks like this now: @echo off ...
by Anomaly-XB-6783
16 Jan 2016 01:51
Forum: DOS Batch Forum
Topic: delete command
Replies: 6
Views: 3084

Re: delete command

Hi, first of all thanks for your answer. But unfortunately this does not work. When I start the batch it opened up a window and it closed again immediately without doing anything.

greets
Anomaly-XB-6783
by Anomaly-XB-6783
15 Jan 2016 07:05
Forum: DOS Batch Forum
Topic: delete command
Replies: 6
Views: 3084

Re: delete command

hi, i want to delete the "test.mkv" and "test.srt" file, if a "test.mkv (subbed)" is created. If there is a "test1.mkv" file but no ".srt" file, the batch should just skip it (which is the batch currently do, but i don't know if it keep donig it, if ...
by Anomaly-XB-6783
15 Jan 2016 04:13
Forum: DOS Batch Forum
Topic: delete command
Replies: 6
Views: 3084

delete command

english Version: Hi, i need an additional command that delete the original files, but not the files that did not match this command: FOR %%A IN (*.mkv) DO mkvmerge -o "%%~nA (subbed).mkv" "%%~A" "%%~dpnA.srt" FOR %%A IN (*.mp4) DO mkvmerge -o "%%~nA (subbed).mp4&qu...