Deploy Package using Deploy.exe Not Shourtcut

Discussion in 'AutoCAD' started by Littlerubarb, Aug 10, 2004.

  1. Littlerubarb

    Littlerubarb Guest

    Deploy Package using Deploy.exe Not Shortcut,
    We would like to use a script to execute the deploy.exe but it seems error every time, it's looking for a command line variable...Tried everything but cannot get it to work..
     
    Littlerubarb, Aug 10, 2004
    #1
  2. Littlerubarb

    John Guest

    vbs script:

    [begin code]
    Dim WshShell, oExec
    Set WshShell = CreateObject("WScript.Shell")

    Set oExec = WshShell.Exec("Y:\someplace\deploy.exe ""DeploymentName""" )
    Do While oExec.Status = 0
    WScript.Sleep 100
    Loop

    'do next vbs thing here

    [end code]

    -John
    Deploy Package using Deploy.exe Not Shortcut,
    We would like to use a script to execute the deploy.exe but it seems error
    every time, it's looking for a command line variable...Tried everything but
    cannot get it to work..
     
    John, Aug 10, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.