@echo off echo: echo: A Very simple auto-executer for PC-GAMESS files. echo: echo: This file will read all of the ".inp" files in a directory and run echo: them using the PC-GAMESS executable. It runs universally (all Windows echo: versions) if the filename conforms to "filename.ext" or "8.3" format. echo: echo: It is also assumed that your input files end with the ".inp" extension. echo: If you've another extension, change the "inp" in the (*.inp) line of this echo: file (using Notepad or Wordpad) to your chosen extension. echo: echo: In 2000 and higher, this file supports long file names WITHOUT echo: spaces between letters, such as "Copy of Filename.inp". echo: echo: You can remove the "Press any key to continue . . ." below by deleting echo: the "pause" line in this file (using Notepad or Wordpad). echo: REM REM Please direct any questions about this file to REM Damian Allis (www.somewhereville.com, damian@somewhereville.com) REM REM remove me to remove that pause! pause @echo off REM REM The line below calls the execute.bat file that actually runs the program REM for %%f in (*.inp) do call execute %%f REM REM change the (*.inp) to your chosen extension if NOT "inp" . REM REM When all of the .inp files are run in the directory, the "for" loop ends REM and the following files, if they still exist, are deleted, leaving only the REM ".inp" file, ".out" file, and PUNCH file in the form of ".dat" REM del DICTNRY del WORK16 del MOINTS del WORK15 del AOINTS del IRCDATA del AOINTS