Solved Copy FONT files from one directory to another.

July 16, 2013 at 12:19:57
Specs: Windows 7
I have several servers that of course have the FONT directory. When I add a FONT to one directory, I want to run a BAT file that will copy any files from the original directory that are new to the new directory on the other location.

See More: Copy FONT files from one directory to another.

Report •

July 17, 2013 at 14:26:52
✔ Best Answer
If you use xcopy with the /d/y switches, it will only copy files that don't exist in the destination folder. For example:

@Echo OFF

xcopy /d/y "C:\Windows\Fonts\*.*" "\\Server1\Windows\Fonts"
xcopy /d/y "C:\Windows\Fonts\*.*" "\\Server2\Windows\Fonts"
xcopy /d/y "C:\Windows\Fonts\*.*" "\\Server3\Windows\Fonts"
xcopy /d/y "C:\Windows\Fonts\*.*" "\\Server4\Windows\Fonts"

ECHO Transfer Complete.
ECHO Press any key to close this window.

Law of Logical Argument: Anything is possible if you don't know what you're talking about.

Report •
Related Solutions

Ask Question