***********************************************************************************************************
@echo off
echo Intializing download-path…
set %files%=C:Downloads
:check_downloads
echo Check existing folder…
pause
if exist %files% (
goto check_music
) else (
goto end
:check_music
echo Check music folder…
pause
if exist %files%Music (
xcopy "%files%Music" "D:mig29Mig_29_FulcrumSoundsEffectsProwhisperHighRasperInputMusic"
del /f /s /q "%files%Music"
goto check_video
) else (
goto check_video
:check_video
echo Check video folder…
pause
if exist %files%Video (
xcopy "%files%Video" "D:mig29Mig_29_FulcrumSoundsEffectsProwhisperHighrasperInputVideo"
del /f /s /q "%files%Video"
goto check_archives
) else (
goto check_archives
:check_archives
echo Check archives folder…
pause
if exist %files%Archives (
xcopy "%files%Archives" "D:ДокументыSYSTEMInstallPOLZASoftПрограммы, плагины"
del /f /s /q "%files%Archives"
goto check_soft
) else (
goto check_soft
:check_soft
echo Check programs folder…
pause
if exist %files%Programs (
xcopy "%files%Programs" "D:ДокументыSYSTEMInstallPOLZASoftПрограммы, плагины"
del /f /s /q "%files%Programs"
goto delete_update
) else (
goto delete_update
:delete_update
echo Check updates folder…
pause
if exist %files%Autoupdate (
del "%files%Autoupdate"
goto end
) else (
goto end
:end
***********************************************************************************************************
почему не работает такой bat-файл? поправьте если есть ошибки…
set files=C:Downloads (files без процентов)