Code: Select all
Shell "blat " & _
" -body " & mfile & _
" -to " & mto & _
" -f " & mfrom & _
" -subject " & msubject & _
" -server " & mserver
Code: Select all
Shell "blat " & _
" -body " & mfile & _
" -to " & mto & _
" -f " & mfrom & _
" -subject " & msubject & _
" -server " & mserver
The FAQ is not very good. The traditional place for commandline in DOS is the PSP and there are 128 Byte's left, but only 125 can be used reliably. For longer commandlines an environment variable can be created holding the full commandline, but there must be enough space free for it. I have no experience with very long commandlines, just brew 2 test programs passing a commandline, start with a length of 124 ;-)dkl wrote:Weird, FB's shell() just passes the string to the DJGPP C runtime's system(), and if I understand the notes in the DJGPP faq correctly, it should work.