Записи по mssql,oracle,windows и linux

Have a Question?

If you have any question you can ask below or enter what you are looking for!

Скрипты(bat) для копирования и удаления.

Удаление файлов старше 30 дней.

net use u: \\\Public\s0079\log /user:домен\логин пароль
forfiles.exe /p U:\WMPRD\ /s /d -30 /m *.* /c "cmd /c del /q @file"
forfiles.exe /p U:\WMPRDD1\ /s /d -30 /m *.* /c "cmd /c del /q @file"
forfiles.exe /p U:\WMPRDM1\ /s /d -30 /m *.* /c "cmd /c del /q @file"
net use u: /delete


robocopy D:\LS\TRN \\\Public\s0079\log /E /Z /DCOPY:T /R:2 /W:5 /tee /mt:20


Leave a Reply

Your email address will not be published. Required fields are marked *

You can use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>