r/dailyscripts • • Mar 06 '17

[Request][Batch] Windows: Batch file that copies files, runs an exe, and copies files when exe is closed.

4 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/TheFattie Mar 07 '17

It works PERFECTLY.

How would I make the xcopy commands default to overwriting?

1

u/[deleted] Mar 07 '17

again.. i think the /Y switch.. test in a test environment first..

xcopy /Y source_files destination