Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
| Rater | Score | Time |
|---|---|---|
| superadam | +2 | 2007-08-21 09:24 |
Originally posted by Climbing at 2007-8-21 08:19 AM:
Basically as the poster above wrote, you can also do it like this:
for /f "usebackq delims=" %i in (`dir /b/d "c:\documents and settings"`) do xcopy /e/i "c:\documents and settings\%i\Favori ...
for /f "usebackq delims=" %i in (`dir /b/d "c:\documents and settings"`) do xcopy /e/i "c:\documents and settings\%i\Favorites" "x:\target"
x:\target means the target directory.