I think there was a command "call" Call NewPatch.exe may help Regards Paul McKenzie Analyst Programmer SMSS Ltd.
----- Original Message ----- From: "Mark Howard" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, May 28, 2003 4:20 PM Subject: [DUG]: OffTopic Batch file question > Hi All > > Sorry for posting this on the main group - but it seems OffTopic is not > behaving. This is what I posted there a couple of days ago. > > Hi > > I have a batch file that goes something like: > > NewPatch.exe //this is a Windows GUI application > ATTRIB +R D:\PSLogV2\DBData\*.* > > This works fine on my Win2K machine - in that it waits for > NewPatch to complete before running the ATTRIB line. > > On a client's Win95 machine, however it doesn't wait for > NewPatch.exe to complete (in fact the ATTRIB line runs before > the GUI app has even opened its window). > > Has anyone encountered this problem before? and is there a > work around? > > TIA > > Mark > > > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
