Thanks Tracy - I'll give that a go! John
John Weller 01380 723235 07976 393631 > -----Original Message----- > From: ProfoxTech [mailto:[email protected]] On Behalf Of > Tracy Pearson > Sent: 16 April 2014 20:09 > To: [email protected] > Subject: RE: Stunnel > > John Weller wrote on 2014-04-16: > > Not that I can see. > > > > John Weller > > 01380 723235 > > 07976 393631 > > > > John, > > I suggest writing the DOS command to a temporary sys(2015) file with a .CMD > extension. > > Use strtofile() to create/write the command to this file, run the cmd, then > delete the cmd file. > > This code should delete the cmd file itself. You could put the DOS "pause" > command in the cmd file for debugging. > > cmdFile = AddBS(GetEnv("TEMP")) + ForceExt(Sys(2015), "CMD") > mailsendcmd = "" + CHR(13) + CHR(10) delcmd = "del " + cmdFile > strtofile(mailsendcmd, cmdFile, 0) strtofile(delcmd, cmdFile, 1) cmd = > "!"+cmdFile &cmd. > > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

