mkdir "%USERPROFILE%\My Documents\%name%"
copy music.mp3 "%USERPROFILE%\My Documents\%name%"
How would I correctly define music.mp3
Copy
Moderator: DosItHelp
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Copy
Or, if you don't feel like moving music.mp3 to the current directory, you can pass the full path to copy instead.
Code: Select all
copy "C:\wherever\your\file\is\music.mp3" "%USERPROFILE%\My Documents\%name%"