how to run the network install from a dos batch?

Discussion in 'AutoCAD' started by James Maeding, Oct 1, 2004.

  1. I made a newtwork deployment for LDT2005 and want to run it in a dos batch with the /wait switch
    the wait switch is so I can have it run the civil design install right after, but not at the same time.
    so I have something like:
    start /wait "\\server....\deploy.exe" "Land Desktop"

    but it does not work.
    How would I write the start /wait syntax to work? It works without the start /wait...
    thanks
    James Maeding
    jmaeding at hunsaker dot com
    Civil Engineer/Programmer
     
    James Maeding, Oct 1, 2004
    #1
  2. James Maeding

    John Schmidt Guest

    Exactly correct, Drew - the next command won't run until the first one
    completes, so James should be fine without the start functions.

    John
     
    John Schmidt, Oct 1, 2004
    #2
  3. interesting, the batch files I did for my 2002 installs would start the civil design and express tools right in a row so
    they ended up overlapping. I think there are some times programs do not wait for each other.

    I figured out how to make the start /wait work, so I will take that route so I am sure what is happening.

    It turns out the start /wait syntax takes anything in quotes as the title.
    So now my batch file lines look like:

    start /wait "dummytitle" "\\server....\deploy.exe" "Land Desktop"

    and it all works. Thanks for the comments though as I might not have stumbled onto this.

    "Drew Burgasser" <>
    |>James:
    |>
    |>I've used a batch file to install ldt + civil + express, and I didn't have
    |>to use any start/wait or pause. The civil install simply did not start
    |>until the ldt install was done.
    |>
    |>I don't think the batch file continues until it's done with the previous
    |>task.
    |>
    |>Sincerely,
    |>Drew Burgasser
    |>CAD Masters, Inc.
    |>
    |>|>>I made a newtwork deployment for LDT2005 and want to run it in a dos batch
    |>>with the /wait switch
    |>> the wait switch is so I can have it run the civil design install right
    |>> after, but not at the same time.
    |>> so I have something like:
    |>> start /wait "\\server....\deploy.exe" "Land Desktop"
    |>>
    |>> but it does not work.
    |>> How would I write the start /wait syntax to work? It works without the
    |>> start /wait...
    |>> thanks
    |>> James Maeding
    |>> jmaeding at hunsaker dot com
    |>> Civil Engineer/Programmer
    |>

    James Maeding
    jmaeding at hunsaker dot com
    Civil Engineer/Programmer
     
    James Maeding, Oct 1, 2004
    #3
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.