質問

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

copy /Y "$(SolutionDir)\MyProj\Configs\[ConnectionStrings]*" "$(SolutionDir)\MyProj.Daemon\Configs\
役に立ちましたか?

解決

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*
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top