For foxpro for windows 2.5, is there a maximum length of the line that follows the "run" command? my command isn't approaching 254
________________________________ From: Tracy Pearson <[email protected]> To: [email protected] Sent: Tuesday, April 10, 2012 11:08 PM Subject: Re: Run/! command failed in foxpro 2.5 Michael Madigan <[email protected]> wrote: > > > >I have an interesting problem. > >I am calling this mailsend.exe program, which sends out email from the >command line and allows for smtp authenication and sending through >different port numbers. I want to send myself an email every time a >major error occurs in foxpro. > >If I use the line > >run /n N:\MAILSEND\mailsend1.16 -v -smtp plus.smtp.mail.yahoo.com >-port 587 -t >[email protected] -f >[email protected] -sub "this is a test" -M "this is the body" -auth >-user [email protected] -pass "password." > >It fails with the Run/! command failed > > >if I do > >run /n mailsend.bat > >where the bat file is one line > > N:\MAILSEND\mailsend1.16 -v -smtp plus.smtp.mail.yahoo.com -port 587 >-t [email protected] -f [email protected] -sub "this is a test" -M >"this is the body" -auth -user [email protected] -pass "password." > >it works fine. > > > >Is it because the earlier first example has to bring the entire program >into memory? > >I played with the foxrun.pif and put in cmd.exe instead of command.com >and that didn't work. I also played with some of the memory settings >in the pif, and that didn't work. > >This also works on some computers and not others. > >Any ideas? > >I can use the batch file method as a work-around, but I'd rather have >it work with the run /n command. > The command cannot be more than 254 characters for some OS's. Others I believe the length was increased to 1000 characters. -- Tracy Sent from my Android phone with K-9 Mail. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://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. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://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.

