Created
April 29, 2022 12:53
-
-
Save hunterirving/8b5fc739317edb298c9ebc7a941424e8 to your computer and use it in GitHub Desktop.
copy music to USB drive so i can listen to tunes in the car
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
:start | |
set choice= | |
xcopy /e /y /d C:\Users\Hunter\Music\*.* D: | |
goto wait | |
:check | |
timeout /t 1 /nobreak >nul | |
echo waiting | |
if exist F: (goto start) else goto check | |
:wait | |
timeout /t 1 /nobreak >nul | |
echo Waiting for removal | |
if exist F: (goto wait) else goto removed | |
:removed | |
echo removed | |
goto check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment