PDQ Library:  Batch Programs

You must already know how to use batch commands to use this page. I accept
no responsibility for any accidents you have using batch commands.

Batch programs can do many operations easily to save you time. Here is a simple Batch file called Ping.bat that tests a domain patdrummond.org three times to see if it's working:

@ECHO off
ECHO Ping.bat - test patdrummond.org
ping patdrummond.org -n 3
PAUSE

More Batch Programs

  1. Back up personal files using XCOPY
  2. Create Dated File Names
  3. Create a list of files in a directory
  4. Programs
  5. Back up personal files using ROBOCOPY
  6. Start Windows programs
  7. Starting several Windows programs
  8. Add a timer pause or sound
To get the program "path", right click on the shortcut (icon), select Properties, and copy the Target line. When you open the Properties box, it is highlighted already - simply type CTRL+C to copy it. Paste it into a text editor (Notepad) using CTRL+P. Save it as xxx.bat.
TOP back