I'm trying to make a batch file that:
Gets a number of files inputted by the user, randomly picks that many files from a folder, and transfers them to another folder. So it would end up being something like:
Run > CMD
C:\transfer.bat 10 D:\Mp3's\ H:\
I'm making this as a little project for my USB mp3 player. Instead of going through and picking files to have on it, I'd rather run a program that surprises me on what I listen to.
I already understand about variables and basic syntax, I just don't know how to get it to pick random files, limited by a number. Thank you for any help in advance.
Edit: Or perhaps I shouldn't be using batch for this? I'm also learning Python and C...