Results 1 to 2 of 2

Thread: Timer On A Batch File

  1. #1
    allster is offline Senior Member
    Join Date
    Jan 2009
    Posts
    172
    Rep Power
    4

    Default Timer On A Batch File

    Hello. Windows XP installed in my system. I want to set up a Batch file to open up a program in 30 seconds. It is possible??If possible please give me detailed information. Any help would be highly appreciated. Thanks in advanced.

  2. #2
    Bratton Clovelly is offline Senior Member
    Join Date
    Apr 2009
    Posts
    111
    Rep Power
    4

    Default

    One technique is to ping an inaccessible IP address. For example, my home network uses a 192.168.xxx.xxx subnet. So I can use an address like 10.10.10.10 with the following:
    ping -n 1 -w 30000 10.10.10.10 >nul

    This will cause a single ping to 10.10.10.10 with a timeout of 30 seconds.
    The key to this working appropriately is to ensure you ping an address that is not reachable from your network.

Similar Threads

  1. Run batch file when PC starts
    By MorganCooper in forum Programming
    Replies: 1
    Last Post: 03-29-2010, 02:04 PM
  2. Open File with Exe File Command for batch
    By PetersonClark in forum Windows XP
    Replies: 1
    Last Post: 03-03-2010, 02:49 PM
  3. Writing a Batch File to Copy File
    By louis.Scott in forum Programming
    Replies: 0
    Last Post: 01-08-2010, 04:25 PM
  4. How to get the log file from the Dos batch file Programming
    By Madge555 in forum Networking Jargons
    Replies: 2
    Last Post: 10-14-2009, 04:15 PM
  5. Batch File
    By techno23 in forum General Software Terms
    Replies: 0
    Last Post: 03-26-2008, 10:51 AM

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48