.bat help

Discussion in 'Software' started by jkipp82, Nov 4, 2006.

  1. jkipp82

    jkipp82 Private E-2

    Here is what I need the .bat to do i hope someone can help:

    First it will scan a log file that my program created.
    If it finds a certain line in that log. i.e. User is already connected.
    The it shutsdown the program and restarts it.

    Is this possible? Than you ahead of time.
     
  2. Mada_Milty

    Mada_Milty MajorGeek

    Pretty tricky with a .bat file.

    I know this could be done with VBScript... are you familiar at all?
     
  3. jkipp82

    jkipp82 Private E-2

    I use vs 2003 to compile my program. But im not too techniqually sound in that field. Meaning I know of If then statements but Im not too sure of what to put after that. I wish it was as easy as

    If program crashs or freezes
    Then restart it
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds