- Oct 3, 2001
- 933
- 0
- 71
I need to move files of the same type from several subdirectories to a new directory but cannot figure out how to do it via command line. This is in windows 7 and I kinda get this from xcopy:
xcopy /s *.mht d:\docs
That copies all the *.mht files from various subdirectories to d:
doc, but it also carries the subdirectory structure which i dont want
I tried switching xcopy for move, and I get an invalid syntax.
If I can get the copy to work like i want then i can deal with deleting the files later, but id really like a move command to work
HELP!
Thanks in advance.
xcopy /s *.mht d:\docs
That copies all the *.mht files from various subdirectories to d:
doc, but it also carries the subdirectory structure which i dont want
I tried switching xcopy for move, and I get an invalid syntax.
If I can get the copy to work like i want then i can deal with deleting the files later, but id really like a move command to work
HELP!
Thanks in advance.