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.



Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: ProFox@leafe.com
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/000301cf59a7$55856610$00903230$@powerchurch.com
** 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.

Reply via email to