Tuesday, November 5, 2013

Windows Server Task Scheduler Copy File


  • Open Task Scheduler
  • Under Action, Create basic Task
  • Name: {define your task name}
  • Description: {define your description - Optional}
  • Click Next
  • Click Next
  • Select Start a program
  • Click Next
  • In Program/Script box, enter: cmd
  • In the Arguments box, enter: /c move /Y {source dir}\*.* {dest dir}
  • Click Next
  • Check the results then click Finish

/c means that it does not show command window
/k means that it shows command window

No comments:

Post a Comment