From chemistry-request@server.ccl.net  Fri Dec 15 10:17:30 2000
Received: from mailrelay2.lrz-muenchen.de (mailrelay2.lrz-muenchen.de [129.187.254.102])
	by server.ccl.net (8.8.7/8.8.7) with ESMTP id KAA32432
	for <CHEMISTRY@ccl.net>; Fri, 15 Dec 2000 10:17:30 -0500
Received: from olymp.cup.uni-muenchen.de by mailrelay2.lrz-muenchen.de; Fri, 15 Dec 2000 16:17:08 +0100
Received: by olymp.cup.uni-muenchen.de (AIX 3.2/UCB 5.64/4.03)
          id AA37966; Fri, 15 Dec 2000 16:17:06 +0100
Date: Fri, 15 Dec 2000 16:17:05 +0100 (MET)
From: Stefan Seidler <sseidler@olymp.cup.uni-muenchen.de>
To: CHEMISTRY@ccl.net
Cc: mth@dmu.dk
Subject: hcmolfix (how to call multiple times from ms-dos)
Message-Id: <Pine.A32.3.91.1001215161557.16201A-100000@olymp.cup.uni-muenchen.de>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



> It is possible to run the program from dosshell just writing "hcmolfix
> unfixedfilname.mol > fixedfilename.mol" for one mol-file at a time.
> I have tried the MS-DOS command "FOR in (c\:FILES\*.mol) DO hcmolfix" to run
> the programme on a set of files, but it is not working.

As far as i remember the correct syntax is

for %i in (*.mol) do hcmolfix < %i > fixed\%i

Don't forget to double the % if used in a batch program.

Regards,
   Stefan

mailto:stefan.seidler@cup.uni-muenchen.de


