Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
382 B

  1. #
  2. #
  3. #
  4. #
  5. if [ "$1" = "" ]; then
  6. echo "Usage: $0 <filename>"
  7. exit 10
  8. fi
  9. job=`date |sed 's/ /_/g'`
  10. # 2 = Keep Log and Data
  11. history=2
  12. compressed=true
  13. persist=true
  14. cscript test3_DeleteAllJobs.vbs
  15. cscript test1_CreateJob.vbs $job $history $compressed $persist
  16. cscript test4_SetData.vbs $job `cygpath -w $1`
  17. cscript test5_ActivateSync.vbs $job