문제

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