(Batch)Alle Ordner mit gleichem Anfang: "Testord" kopieren
hey, ich möchte alle Ordner sichern, welche mit "Testord" beginnen. So klappt das nicht:
Die Namen sind halt variabel, von daher kann ich sie nicht direkt 1:1 eintragen in die Batch. Der Anfang ist jedoch immer gleich.
lieben Dank!
Julia
@echo off
set Quelle="%AppData%\Testordnername*"
set Ziel="BACKUP\%DATE%\"
xcopy /e /i /h /r /y %Quelle% %Ziel2%
Die Namen sind halt variabel, von daher kann ich sie nicht direkt 1:1 eintragen in die Batch. Der Anfang ist jedoch immer gleich.
lieben Dank!
Julia
Please also mark the comments that contributed to the solution of the article
Content-Key: 4526994956
Url: https://administrator.de/contentid/4526994956
Printed on: May 13, 2024 at 09:05 o'clock
2 Comments
Latest comment