Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: using a batch file to read a directory to start/stop programs within that dir  (Read 4328 times)

0 Members and 1 Guest are viewing this topic.

19BigAl49

    Topic Starter


    Rookie

    how do I do this?
    There is a father folder with several child folders within it.
    I want to :
    1. get the name of the first child folder
    2. modify the path name of a second batchfile by inserting the child folders name into it.
    3. execute the modified second batch file name.
    4. if there are more child folders go to 1.
    5. else end
    In effect the first batchfile executes a program which will then execute a program within each of the child directories