Results 1 to 3 of 3

Thread: make three .bat files run in sequence

  1. #1
    Join Date
    Oct 2009
    Posts
    2

    make three .bat files run in sequence

    hi i have a delema

    i have a server with hotswapable drives.they do not automaticly unmount and mount so i wrote 2 .bat files to remove the drive and one to detect hardware changes.they run with hotswap over the network and i use psexe to remotely execute comands.

    i whant to make a .bat file to dismount the drive the with a 60 second delay scan for hardware changes.this must be run from one file

    plz help me

  2. #2
    Join Date
    Dec 2007
    Posts
    1,599

    Re: make three .bat files run in sequence

    With the below command you can run multiple .bat file in sequence:

    Code:
    @echo off
    cd Test
    for %%a in (*.bat) do (
    set bat=%%a
    start %bat% /WAIT
    )
    echo Done
    pause

  3. #3
    Join Date
    Oct 2009
    Posts
    2

    Re: make three .bat files run in sequence

    thanx a lot

Similar Threads

  1. how to make vlc to play itunes files
    By Ebo in forum Windows Software
    Replies: 9
    Last Post: 06-01-2012, 08:09 AM
  2. Replies: 3
    Last Post: 13-09-2011, 04:39 AM
  3. Mac make files offline
    By Johan Yzelle in forum Operating Systems
    Replies: 1
    Last Post: 14-10-2010, 04:22 AM
  4. Make a password for .exe files
    By Ramirez in forum Windows Software
    Replies: 3
    Last Post: 24-11-2009, 09:40 PM
  5. To play a timed sequence of sound files in iPhone ?
    By Dipu in forum Portable Devices
    Replies: 3
    Last Post: 24-03-2009, 08:28 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,857,590.08986 seconds with 17 queries