Re: Help with dos copy cmd


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]

Posted by Valerie on January 01, 2012 at 02:40:14:

In Reply to: Help with dos copy cmd posted by JoeM on December 30, 2011 at 11:25:40:

For /f "tokens=*" %%1 in ('dir /a-d /b /s /-p C:\*.jpg) do (
copy "%%1" "G:\pics\"
)

Copy can be replaced by Move.

But beware of using Move, if your OS is installed in C: a lot of the .jpg files are essential to the OS or to installed programs. I'm not too sure why you would want to copy those but....

Happy New Year.


Follow Ups:



Post a Followup (use TAB key to move between boxes - NOT ENTER or RETURN)

Name:
E-Mail:

Subject:

Type your comments in the box below and SUBMIT:


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]