Help for this page
c:\test>help xcopy Copies files and directory trees. ... The switch /Y may be preset in the COPYCMD environment variable. This may be overridden with /-Y on the command line.