Pergunta

I want to copy all files with the name ConnectionString. Is this possible?

copy /Y "$(SolutionDir)\MyProj\Configs\[ConnectionStrings]*" "$(SolutionDir)\MyProj.Daemon\Configs\
Foi útil?

Solução

How about this:

 copy /Y "$(SolutionDir)\MyProj\Configs\*ConnectionStrings*" "$(SolutionDir)\MyProj.Daemon\Configs\

You can do wildcards on both ends, or on one end.

*.ext
string.*
*string*
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top