4

Windows . , 3 :

  1. ;
  2. batch (cmd) ;
  3. Task Scheduler ;

.


()

, : ( ) ( ). , . source, , , Destination, . .

. Destination, , Properties (). , Sharing ( ) Share ( ). :

   Windows |

, , . , Everyone (). Share. , :

   Windows

Network Path ( ). , . .

! , Network Path, , %_%/Destination, %_% - , Destination. , ( IP - ) , Source ( ). IP C:\Windows\System32\drivers\etc Windows.

batch

roadmap ( ) . ( ) movefiles.bat.

! movefiles bat

:

robocopy C:\Source \\%_%\Destination *.* /E /XD \\%_%\Destination /move
robocopy , xcopy

, .


| Task Scheduler

Task Scheduler Windows. , Create Basic Task . :

   Windows

:

Task Scheduler Daily

00:00:00:

Action Start a program:

  | Start a program

, , - movefiles.bat:

, . , , Finish:

  Task Scheduler

. () General Run whether user is logged on or not Run with highest privileges.

Run whether user is logged on or not

, , , Triggers, (Daily) :

  • Repeat task every;
  • , Repeat task every 1 mnute;
Repeat task every 1 minute

.


, , . Source :

    batch

Destination:


50% Merion Academy