====== Pfad der Batch-Datai ====== %~dp0 Backslash vom Pfad entfernen SET "p=%~dp0" SET "p=%mypath:~0,-1%"