.batch

Discussion in 'Programming General' started by mopar-user, Mar 17, 2009.

.batch
  1. Unread #1 - Mar 17, 2009 at 3:47 PM
  2. mopar-user
    Joined:
    Jul 23, 2007
    Posts:
    1,188
    Referrals:
    1
    Sythe Gold:
    0

    mopar-user Guru
    Banned

    .batch

    Right now I'm making a file that while running, it closes the internet page whenever one is currently running or is tried to be open. This is an issue because I need another .bat file to be run at the same time to keep the first one open and the first one keeps the second open. The thing I can't get is that when one of the .bats are closed, I can't figure out the code to find out when it closes. Any help?
     
  3. Unread #2 - Mar 17, 2009 at 4:35 PM
  4. hampe-92
    Joined:
    Jul 10, 2008
    Posts:
    328
    Referrals:
    0
    Sythe Gold:
    0

    hampe-92 Forum Addict

    .batch

    why does it ever have to close?
     
  5. Unread #3 - Mar 18, 2009 at 3:08 PM
  6. mopar-user
    Joined:
    Jul 23, 2007
    Posts:
    1,188
    Referrals:
    1
    Sythe Gold:
    0

    mopar-user Guru
    Banned

    .batch

    If they person closes the batch file......
     
  7. Unread #4 - Mar 19, 2009 at 4:00 AM
  8. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    .batch

    Maybe you should read the rules, because you're not allowed to ask about making virus. :\ So unless you can somehow prove (via PM) to me this is not a basis for a virus, I will be closing this thread.

    EDIT: Un-closed due to PM.
     
  9. Unread #5 - Mar 23, 2009 at 2:23 AM
  10. mopar-user
    Joined:
    Jul 23, 2007
    Posts:
    1,188
    Referrals:
    1
    Sythe Gold:
    0

    mopar-user Guru
    Banned

    .batch

    thanks
     
  11. Unread #6 - Mar 25, 2009 at 7:53 AM
  12. Macroman
    Joined:
    Jan 21, 2007
    Posts:
    6,919
    Referrals:
    9
    Sythe Gold:
    12

    Macroman Hero
    Do Not Trade

    .batch

    Can't you make the one open the other?
    like C:\wherever whatever
     
  13. Unread #7 - Mar 26, 2009 at 9:47 PM
  14. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    .batch

    Perhaps you should re-read what he is asking for...
    He is curious to know if there is a code or something in batch that can detect if the other bat file is not running... Having so, then re-opens it.

    I'm going to do a little bit of research on this, as i have nothing much else to do, so i'll get back to you. :)
     
  15. Unread #8 - Mar 27, 2009 at 1:24 AM
  16. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    .batch

    Batch "programming" if you will is far too simplistic and feature-lacking for what you're asking.

    Your options are pretty much either making the batch file never close or if that is not an option then have it open itself again before closing or open a different batch file before closing.
     
  17. Unread #9 - Mar 27, 2009 at 8:25 AM
  18. mopar-user
    Joined:
    Jul 23, 2007
    Posts:
    1,188
    Referrals:
    1
    Sythe Gold:
    0

    mopar-user Guru
    Banned

    .batch

    Well could you provide the code for either of those ideas? I have little knowledge on batch.
     
  19. Unread #10 - Mar 27, 2009 at 1:37 PM
  20. hampe-92
    Joined:
    Jul 10, 2008
    Posts:
    328
    Referrals:
    0
    Sythe Gold:
    0

    hampe-92 Forum Addict

    .batch

    that's his problem... he has check the closing event but he doesn't know how, that's what he asked for...

    btw, what is this for? I mean, does it have to be a batch "program"?
     
  21. Unread #11 - Mar 27, 2009 at 7:42 PM
  22. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    .batch

    You'll have to post the code of your batch file then.
     
  23. Unread #12 - Mar 30, 2009 at 11:04 AM
  24. mopar-user
    Joined:
    Jul 23, 2007
    Posts:
    1,188
    Referrals:
    1
    Sythe Gold:
    0

    mopar-user Guru
    Banned

    .batch

    ok I will when I can get it on a flash drive. Will be posted tomorrow more than likely.
     
< Final Project | save file >

Users viewing this thread
1 guest


 
 
Adblock breaks this site