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.

24 lines
395 B

  1. 'Stop
  2. Set fso = CreateObject("Scripting.FileSystemObject")
  3. Set oArguments = wscript.Arguments
  4. Id = oArguments.Item(0)
  5. File = oArguments.Item(1)
  6. File = fso.GetAbsolutePathName( File )
  7. Set obj = CreateObject( "UploadManager.MPCUpload" )
  8. For Each job In obj
  9. If Id = job.jobID Then
  10. wscript.Echo "Writing..."
  11. job.GetDataFromFile File
  12. Exit For
  13. End If
  14. Next