Creating A Batch File
Results 1 to 5 of 5

Thread: Creating A Batch File

  1. #1
    Join Date
    Oct 2000
    Location
    L.A. CA, USA
    Posts
    318

    Creating A Batch File

    I do a lot of testing network connections on my job. I want to create a batch file that can be executed from my Windows desktop, when clicked, it goes out to the DOS prompt and ping a IP Address. Does anyone know how to do this? Thanks in advance.

  2. #2
    Join Date
    Feb 2000
    Location
    Idaho Falls, Idaho, USA
    Posts
    18,423
    Are you wanting to ping the same IP address each time?

    Save the following as pingaddr.bat (replacing the xxx.xxx.xxx.xxx with your choice of IP address).

    Code:
    ping xxx.xxx.xxx.xxx

  3. #3
    Join Date
    Oct 2000
    Location
    L.A. CA, USA
    Posts
    318
    Yes. But most importantly, I want to run this from my Windows Desktop, which means there will be a Batch File Icon. I know I can do what you're suggesting from the DOS prompt, but I want a batch file that will execute from the desktop.

  4. #4
    Join Date
    Oct 2000
    Location
    L.A. CA, USA
    Posts
    318
    I am sorry...It worked!! Thank you very much. I didn't know it was that simple. Thanks again JDC2000!

  5. #5
    Join Date
    Feb 2000
    Location
    Idaho Falls, Idaho, USA
    Posts
    18,423
    You're welcome.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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