Цитата amel27:
Код:
fc /b d:\update\1.exe c:\work\1.exe >nul||copy /y d:\update\1.exe c:\work\1.exe
start "" c:\work\1.exe »
|
или так:
Код:
xcopy /d /y d:\update\1.exe c:\work\1.exe
start "" c:\work\1.exe
* /D:m-d-y Copies files changed on or after the specified If no date is given, copies only those files whose source time is newer than the destination time.