Posted on 2003-11-12
Have a question regarding a dos batch copy. Say I have the following dir structure - a1\archive\a.txt, b1\archive\b.txt, ... , z1\archive\z.txt. How can I write a batch that will essentially go through the list of directories, and copy the *.txt file one directory level up. ie, copy a.txt from archive sub dir to a1\, copy b.txt from archive to \b1, etc...