home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 May / PCWorld_2002-05_cd.bin / Software / TemaCD / activepython / ActivePython-2.1.1.msi / Python21_pyppm.bat < prev    next >
Encoding:
DOS Batch File  |  2001-07-26  |  290 b   |  8 lines

  1. @echo off
  2. python -c "import pyppm; pyppm.run(['%1', '%2', '%3', '%4', '%5', '%6', '%7'])"
  3. if errorlevel 9009 echo You do not have Python in your PATH.
  4. if errorlevel 1 goto Exits 
  5. if errorlevel 0 goto fin
  6. :graceful exit
  7. :Exits echo An error ocurred while running the program
  8. :fin echo