I'm trying to copy directories and their contents to another directory. The catch is that I want only the directories that start with the letter B to transfer, then be deleted. My batch file looks like this:
xcopy "C:\Documents and Settings\Mike\My Documents\My Music\Local Test\B*" Z:\Music\Albums\Test\*.* /e /d /r /y
del "C:\Documents and Settings\Mike\My Documents\My Music\Local Test\B*" /q
I've been trying different things and just can't seem to get it. Any thoughts?
Also, can anyone recommend a good site to reference for batch file creation? I'm not even sure what all the parameters at the end mean, which could be one of my problems.
Thanks in advance.