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.

25 lines
419 B

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