Results 1 to 5 of 5

Thread: cool batch programming

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    1

    Exclamation cool batch programming

    Can someone do a batch file that pings a certain host after logon and if timeouts > replies logs the user off again.

  2. #2
    Senior Member t34b4g5's Avatar
    Join Date
    Sep 2003
    Location
    Australia.
    Posts
    2,391
    Greetings algeek.

    Firstly i have moved this thread from General Chit Chat and into General Programming Questions.

    It just fits better here.

    And secondly why not start a thread in "Roll Call" and introduce yourself to everyone here at AntiOnline

    cheers
    t34b4g5..

  3. #3
    Banned
    Join Date
    Jan 2008
    Posts
    605
    ping google.com -i 255 -w 500 >> C:\puke.ini
    findstr /b "reply" C:\puke.ini >> C:\piss.ini
    del C:\puke.ini
    notepad C:\piss.ini
    pause
    shutdown -l

    It's mostly pseudocode. You'll get the gyst of what I was going for though.

  4. #4
    Senior Member gore's Avatar
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    7,177
    Quote Originally Posted by The-Spec View Post
    ping google.com -i 255 -w 500 >> C:\puke.ini
    findstr /b "reply" C:\puke.ini >> C:\piss.ini
    del C:\puke.ini
    notepad C:\piss.ini
    pause
    shutdown -l

    It's mostly pseudocode. You'll get the gyst of what I was going for though.
    I always wondered what would it be like if Leftover Crack released code instead of records.

  5. #5
    Gonzo District BOFH westin's Avatar
    Join Date
    Jan 2006
    Location
    SW MO
    Posts
    1,187
    Quote Originally Posted by gore View Post
    I always wondered what would it be like if Leftover Crack released code instead of records.
    heh. Priceless.
    \"Those of us that had been up all night were in no mood for coffee and donuts, we wanted strong drink.\"

    -HST

Similar Threads

  1. How to Create bat files....
    By cool_boy in forum General Computer Discussions
    Replies: 3
    Last Post: June 29th, 2006, 02:45 AM
  2. Newbies Guide to Batch Programming
    By Deimos326 in forum Other Tutorials Forum
    Replies: 3
    Last Post: December 7th, 2003, 11:18 PM
  3. Batch programing (Tips and Tricks)
    By ele5125 in forum Other Tutorials Forum
    Replies: 9
    Last Post: June 19th, 2002, 05:09 PM
  4. The Worlds Longest Thread!
    By Noble Hamlet in forum AntiOnline's General Chit Chat
    Replies: 1100
    Last Post: March 17th, 2002, 09:38 AM
  5. Batch File Tut
    By Badassatchu in forum Non-Security Archives
    Replies: 1
    Last Post: November 23rd, 2001, 11:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •