• Ms. ArmoredThirteen@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Like half of my job is writing .bat files to automate stuff locally and not tell my boss that all I do anymore is double click the right things in the right order…

    • viking@infosec.pub
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      You can put in a timeout command at the end, and then call the next .bat file.

      For example “TIMEOUT /T 60” waits for 60 seconds before resuming, or you can override it by pressing any key.

      So if you know how long the wait time between scripts is, just write a master.bat and call them in order, with adequate waiting time in between.