Hi Michael,

sure that when you use real data your line doesn't reach 254 character lenght?

Anyway, if I remember correctly, I deleted foxrun.pif, it was necessary only in 
Windows 95 / 98 / Me.
So close Foxpro, delete foxrun.pif or move it in a folder out of reach of 
Foxpro and then try again.

HTH
Gianni

On Tue, 10 Apr 2012 23:59:48 -0700 (PDT), Michael Madigan 
<mmadi10...@yahoo.com> wrote:

>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 <tr...@powerchurch.com>
>To: profox@leafe.com 
>Sent: Tuesday, April 10, 2012 11:08 PM
>Subject: Re: Run/! command failed in foxpro 2.5
> 
>Michael Madigan <mmadi10...@yahoo.com> 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 
>>u...@example.com  -f 
>>u...@example.com  -sub "this is a test" -M "this is the body" -auth
>>-user u...@example.com -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  u...@example.com  -f  u...@example.com  -sub "this is a test" -M
>>"this is the body" -auth -user u...@example.com -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.

_______________________________________________
Post Messages to: ProFox@leafe.com
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/bljao7pbhs1e9ulc59hvpcaha1o96lg...@4ax.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