Any one can fix the command , I try the command but CMD Command get error ,

  cmd, command, command-line, shell, windows

I try to rut this command

C:WINDOWSsystem32>for /r C:UserssamDesktop %f in (*.*) do @copy "%f" E:testresult/exclude:E:testresultexcept.TXT

but I get error

The syntax of the command is incorrect
the excetp.txt contains 2 line (*.html , *.jpg)

any one can help me

Source: Windows Questions

LEAVE A COMMENT