Frage

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

copy /Y "$(SolutionDir)\MyProj\Configs\[ConnectionStrings]*" "$(SolutionDir)\MyProj.Daemon\Configs\
War es hilfreich?

Lösung

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*
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top