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.
 
 
 
 
 
 

29 lines
424 B

#
#
#
if [ "$1" = "" ]; then
echo "Usage: $0 <filename>"
exit 10
fi
if [ "$2" = "" ]; then
job=`date |sed 's/ /_/g'`
else
job=$2
fi
# 2 = Keep Log and Data
history=2
compressed=false
persist=true
cscript test3_DeleteAllJobs.vbs
cscript test1_CreateJob.vbs $job $history $compressed $persist
cscript test4_SetData.vbs $job `cygpath -w $1`
cscript test5_ActivateSync.vbs $job